-
Notifications
You must be signed in to change notification settings - Fork 16.7k
[stable/redis] Major version bump: Fix chart not being upgradable #7686
Conversation
We'll also need to update the README with any manual steps to upgrade to this breaking change. See #5657 |
/do-not-merge |
/hold |
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.
@desaintmartin as part of this breaking change it might make sense to update the existing labels to be aligned with the current helm label conventions:
https://docs.helm.sh/chart_best_practices/#standard-labels
release
--> app.kubernetes.io/instance
chart
--> helm.sh/chart
role
--> app.kubernetes.io/component
app
--> app.kubernetes.io/name
heritage
--> app.kubernetes.io/managed-by
I've added a small "how to upgrade" part in the Readme as a proposition to be discussed. |
Moved all labels to new recommendations. I think we have all we need now. Feel free to review. |
…removing 'chart' label from spec.selector or spec.VolumeClaimTemplate. Also set a selector to all Deployments. See #7680. Signed-off-by: Cédric de Saint Martin <[email protected]>
I think it is safer to separate the two changes : 1/ fixing the upgrade and 2/ applying new labels convention, like it has been done for all other PRs. I think we can remove do-not-merge. cc @juan131 |
Totally agree @desaintmartin !! Thanks for updating the README.md |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: desaintmartin, juan131 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 |
/ok-to-test |
/hold cancel |
…removing 'chart' label from spec.selector or spec.VolumeClaimTemplate. (helm#7686) Also set a selector to all Deployments. See helm#7680. Signed-off-by: Cédric de Saint Martin <[email protected]> Signed-off-by: jenkin-x <[email protected]>
…removing 'chart' label from spec.selector or spec.VolumeClaimTemplate. (helm#7686) Also set a selector to all Deployments. See helm#7680. Signed-off-by: Cédric de Saint Martin <[email protected]> Signed-off-by: Jakob Niggel <[email protected]>
…removing 'chart' label from spec.selector or spec.VolumeClaimTemplate. (helm#7686) Also set a selector to all Deployments. See helm#7680. Signed-off-by: Cédric de Saint Martin <[email protected]>
What this PR does / why we need it:
Major version bump: Fix chart not being upgradable by removing 'chart' label from spec.selector or spec.VolumeClaimTemplate.
Since this is a breaking change, take this opportunity to also update labels to match the recommendations from Helm: https://github.com/helm/helm/blob/master/docs/chart_best_practices/labels.md
Also set a selector to all Deployments.
Special notes for your reviewer:
See #7680 and #7803 for explanations.
See #7692 for ongoing work to update Review Guidelines.
cc @prydonius @tompizmor @sameersbn @carrodher @juan131