-
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
Template the autoDiscovery.clusterName variable in the Helm chart #6189
Template the autoDiscovery.clusterName variable in the Helm chart #6189
Conversation
bfe6ea6
to
3312382
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
3312382
to
614c50a
Compare
rebased to pickup the latest |
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.
Do we want to also support it in the templating for CAPI?
{{- print "clusterName=" -}}{{ .Values.autoDiscovery.clusterName }} |
Would also be good to add something to the readme explaining that this can be used I think?
charts/cluster-autoscaler/Chart.yaml
Outdated
@@ -11,4 +11,4 @@ name: cluster-autoscaler | |||
sources: | |||
- https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler | |||
type: application | |||
version: 9.30.0 | |||
version: 9.30.1 |
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.
Sorry, going to need another version bump as merged #6194
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.
No worries. :)
Yes I should update it there. I must have just missed that one. Thanks! |
614c50a
to
5b2380c
Compare
charts/cluster-autoscaler/Chart.yaml
Outdated
@@ -11,4 +11,4 @@ name: cluster-autoscaler | |||
sources: | |||
- https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler | |||
type: application | |||
version: 9.30.1 | |||
version: 9.30.2 |
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.
One last request actually, can we make this a minor version bump rather than a patch as we're adding functionality.
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.
done
5b2380c
to
841315f
Compare
Thanks! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gjtempleton, mtougeron, mwielgus 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This allows templating of the
autoDiscovery.clusterName
parameter in the Helm chart so that you can do more dynamic processing of the cluster's name.Which issue(s) this PR fixes:
Fixes # n/a
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: