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

Enables AZURE_CLUSTER_NAME even if .Values.azureUseManagedIdentityExtension is "true". #4564

Merged
merged 1 commit into from
Jan 30, 2022

Conversation

monaka
Copy link
Contributor

@monaka monaka commented Dec 26, 2021

Enables AZURE_CLUSTER_NAME even if .Values.azureUseManagedIdentityExtension is "true".

Which component this PR applies to?

Which autoscaling component hosted in this repository (cluster-autoscaler, vertical-pod-autoscaler, addon-resizer,
helm charts

What type of PR is this?

/kind bug
/kind documentation

What this PR does / why we need it:

The Helm chart doesn't work in case azureUseManagedIdentiryExtension="true".
As suggested #4323, the environment variable AZURE_CLUSTER_NAME seems to be required.

Which issue(s) this PR fixes:

Fixes #4323

Special notes for your reviewer:

This PR is just stopping a CrashLoopBackoff.
It might be some more patches required for working cluster-autoscaler perfect.

Does this PR introduce a user-facing change?

`azureClusterName` must be set if they set `azureUseManagedIdentityExtension="true"`.

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

none.

@k8s-ci-robot k8s-ci-robot added do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. kind/bug Categorizes issue or PR as related to a bug. kind/documentation Categorizes issue or PR as related to documentation. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 26, 2021
@monaka monaka changed the title Fix kubernetes/autoscaler#4323 . Enables AZURE_CLUSTER_NAME even if .Values.azureUseManagedIdentityExtension is "true". Dec 26, 2021
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Dec 26, 2021
@gjtempleton
Copy link
Member

/assign @gjtempleton

Hey, thanks for the PR!

Can you please squash the commits down to 1, then I'll be happy to get this merged!

@monaka
Copy link
Contributor Author

monaka commented Jan 29, 2022

@gjtempleton Thanks for your review. I rebased and force-pushed.

@gjtempleton
Copy link
Member

Thanks for that!

/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 Jan 30, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gjtempleton, monaka

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 Jan 30, 2022
@k8s-ci-robot k8s-ci-robot merged commit 7b3ce42 into kubernetes:master Jan 30, 2022
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/cluster-autoscaler area/helm-charts cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. kind/documentation Categorizes issue or PR as related to documentation. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Helm Chart CA]: If azureUseManagedIdentityExtension is set to true azureclustername is missing.
4 participants