-
Notifications
You must be signed in to change notification settings - Fork 16.5k
[stable/acs-engine-autoscaler] #1785 namespace defined templates with… #1976
[stable/acs-engine-autoscaler] #1785 namespace defined templates with… #1976
Conversation
|
Hi @kevinschumacher. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
@dhilipkumars note that I have incremented the major version here. |
| icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png | ||
| name: acs-engine-autoscaler | ||
| version: 1.0.0 | ||
| version: 2.0.0 |
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.
Does this really need to be a major version change? Doesn't seem to be breaking.
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.
IMO we are changing the chart's API in a breaking way by changing the names of defined template functions.
Example:
subchart1 defines fullname
parent, which depends on subchart1, uses the fullname template function (it's global) in a configmap (or other resource) like {{ template "fullname" . }}
subchart1, in a minor version release, has the global defined template names changed from fullname to subchart1.fullname.
author of parent updates dependency, tries to deploy, and parent's configmap won't render because there is no longer a template function fullname (it's now subchart1.fullname)
|
/ok-to-test |
|
/lgtm |
… chart name
#1785