Repository navigation
Update the 'fullname' template to match helm 2.8.2 - #572
Conversation
|
@whereisaaron: Adding do-not-merge/release-note-label-needed because the release note process has not been followed. DetailsOne of the following labels is required "release-note", "release-note-action-required", or "release-note-none". Instructions 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. |
|
Seems pretty intuitive to me - is this a new standard in Helm then? /ok-to-test |
|
Also, how will this effect users with existing deployments? |
|
/cc @unguiculus is this something that other charts have accepted? How does helm deal with upgrades? Does it lose track of the older resources? 😬 |
|
No it doesn't lose track of previous items, an upgrade will replace the old named items with the new. So only an issue for stateful items, like a PVC. The code comes directly from the starter chart helm creates when you run |
|
Sounds good to me. If you could bump the chart version one last time, I'll apply the appropriate labels 😄 |
|
Bumped chart version and updated chart appVersion |
|
Looks like you also need to rebase on master to resolve git issues 😄 /release-note-none |
The newer 'fullname' helper function automatically avoids name duplication. This change updates the function in cert-manager to include that functionality. Given there is generally only one cert-manager per cluster, if you install cert-manager and call it `cert-manager`: ``` helm upgrade --install cert-manager stable/cert-manager ``` You get deployments and pods called `cert-manager-cert-manager...` With the update version (taken from the `helm create` template for helm 2.8.2` you instead get deployments and pods called `cert-manager`. There is a workaround possible at the moment, but the automatic behavior is more intuitive for new users. ``` helm upgrade --install cert-manager stable/cert-manager --set=fullnameOverride=cert-manager ```
|
@munnerz over to you |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: munnerz The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Allow setting http_proxy and https_proxy in cert-manager deployment (cert-manager/cert-manager#680) * charts/cert-manager: add extraEnv (cert-manager/cert-manager#556) * Use development chart version on master branch (cert-manager/cert-manager#660) * Update the 'fullname' template to match helm 2.8.2 (cert-manager/cert-manager#572) * Support for custom dns settings (cert-manager/cert-manager#522)
* Allow setting http_proxy and https_proxy in cert-manager deployment (cert-manager/cert-manager#680) * charts/cert-manager: add extraEnv (cert-manager/cert-manager#556) * Use development chart version on master branch (cert-manager/cert-manager#660) * Update the 'fullname' template to match helm 2.8.2 (cert-manager/cert-manager#572) * Support for custom dns settings (cert-manager/cert-manager#522)
* Allow setting http_proxy and https_proxy in cert-manager deployment (cert-manager/cert-manager#680) * charts/cert-manager: add extraEnv (cert-manager/cert-manager#556) * Use development chart version on master branch (cert-manager/cert-manager#660) * Update the 'fullname' template to match helm 2.8.2 (cert-manager/cert-manager#572) * Support for custom dns settings (cert-manager/cert-manager#522) Signed-off-by: Jakob Niggel <[email protected]>
* Allow setting http_proxy and https_proxy in cert-manager deployment (cert-manager/cert-manager#680) * charts/cert-manager: add extraEnv (cert-manager/cert-manager#556) * Use development chart version on master branch (cert-manager/cert-manager#660) * Update the 'fullname' template to match helm 2.8.2 (cert-manager/cert-manager#572) * Support for custom dns settings (cert-manager/cert-manager#522)
What this PR does / why we need it:
The newer 'fullname' helper function automatically avoids name duplication. This change updates the template in cert-manager to include that functionality.
Given there is generally only one cert-manager per cluster, if you install cert-manager and call it
cert-manager:You get deployments and pods called
cert-manager-cert-managerWith the update version (taken from the
helm createtemplate for helm 2.8.2) you instead get deployments and pods called simplycert-manager.There is a workaround possible at the moment, but the automatic behavior is more intuitive for new users.
Special notes for your reviewer:
This was originally included in #232, but was not merged in favor of #229. However #229 still used the out of date version.