-
Notifications
You must be signed in to change notification settings - Fork 16.7k
[stable/redis] Add chart and release labels in pods #6909
Conversation
/ok-to-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: carrodher, javsalgar 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 |
Hello guys, |
Signed-off-by: Marek Bartik <mab@revolgy.com>
Confirmed, these changes appear to have broken backwards-compatibility with existing deployments, and should therefore require a major version bump, rather than including in a point release. |
What I mean is that with those changes, EVERY version (even patch version) upgrade will break, not only this one. |
Is the problem you're raising that there is no satisfactory migration path (even if it requires modifying the deployment outside of helm)? |
Well, the (temporary) satisfactory path is to revert those changes so that there is no mutable labels and we can actually use those Charts in production. |
That seems correct to me. Helm requires its charts use SemVer, under which It's a bug to break upgrades on a patch release. As long as there's a documented upgrade procedure for a back-incompatible change on major release that would comply with the requirements of SemVer, though depending on how painful that migration is you could also deem it unacceptable, or hide it behind a feature-flag so that existing users don't need to take the upgrade. |
Well, I think it is not a matter of semver. This is causing a few confusions, like here: This is at least my understanding, but I'm actually happy if I'm wrong (because this problem is blocking for me). You are talking about point 1, which does not contain the whole story. |
Thanks for the clarification, my understanding of the issue was incomplete. You're right, it sounds like this change simply isn't compatible with the way that k8s metadata is managed. Providing a concrete link from the API docs, https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#selector. |
Signed-off-by: aba182 <ajwilhel@gmail.com>
Signed-off-by: Jakob Niggel <info@jakobniggel.de>
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
What this PR does / why we need it:
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Special notes for your reviewer: