Skip to content
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

Merged
merged 1 commit into from
Dec 8, 2021

Conversation

marwanad
Copy link
Member

@marwanad marwanad commented Dec 6, 2021

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

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 6, 2021
@marwanad marwanad force-pushed the switch-azure-clients branch from 3d9f740 to d128e00 Compare December 6, 2021 13:14
@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 6, 2021
@marwanad marwanad force-pushed the switch-azure-clients branch 2 times, most recently from 87dfada to 6d379a1 Compare December 6, 2021 14:01
@@ -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()
Copy link
Member Author

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.

@marwanad marwanad force-pushed the switch-azure-clients branch from 6d379a1 to e5abd7b Compare December 6, 2021 14:22
@marwanad
Copy link
Member Author

marwanad commented Dec 6, 2021

/area provider/azure

@k8s-ci-robot k8s-ci-robot added the area/provider/azure Issues or PRs related to azure provider label Dec 6, 2021
@marwanad marwanad force-pushed the switch-azure-clients branch 2 times, most recently from 2ca9d79 to b244d8a Compare December 6, 2021 15:02
@marwanad marwanad force-pushed the switch-azure-clients branch from b244d8a to afb443f Compare December 6, 2021 15:17
Copy link
Member

@feiskyer feiskyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 8, 2021
@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 8, 2021
@k8s-ci-robot k8s-ci-robot merged commit d7ac2de into kubernetes:master Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/provider/azure Issues or PRs related to azure provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants