-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch azure clients to non-legacy repo #4494
Conversation
3d9f740
to
d128e00
Compare
87dfada
to
6d379a1
Compare
@@ -157,12 +157,6 @@ func BuildAzureConfig(configReader io.Reader) (*Config, error) { | |||
cfg.ClusterName = os.Getenv("AZURE_CLUSTER_NAME") | |||
cfg.NodeResourceGroup = os.Getenv("AZURE_NODE_RESOURCE_GROUP") | |||
|
|||
subscriptionID, err := getSubscriptionIdFromInstanceMetadata() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to get rid of that because I was getting:
'sigs.k8s.io/cloud-provider-azure/pkg/provider' imports package with invalid import comment
on importing. Looking back at it - I highly doubt this was ever used since most people would either provide AZ config or explicitly sub ID from env vars.
6d379a1
to
e5abd7b
Compare
/area provider/azure |
2ca9d79
to
b244d8a
Compare
b244d8a
to
afb443f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: feiskyer, marwanad The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This switches the azure cloudprovider clients to not use the legacy repo since its no longer maintained.
Dependency is now pulled from sig.k8s.io/https://github.com/kubernetes-sigs/cloud-provider-azure