-
Notifications
You must be signed in to change notification settings - Fork 16.8k
[stable/*] Create and document charts policy for breaking change upgrades #5657
Comments
@unguiculus @viglesiasce @prydonius @mattfarina @lachie83 please let me know if I missed anything. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
This issue is being automatically closed due to inactivity. |
We should keep this issue open till we document this. |
Here is an issue where several charts are affected and need breaking changes: #7680 |
Hi @scottrigby I agree with adding the instructions on a new Upgrading section. We can use sth like:
|
I tried this workaround before upgrading and fixed it:
|
I've just tried it on a apps/v1beta2 Statefulset (rabbitmq), and the outcome is still the same:
Was your Deployment using >=v1beta2 as well? For >=apps/v1beta2, the only way I've found is to: |
After checking, I confirm that the way @desaintmartin proposed is the one that works for StatefulSets. |
And after checking, I confirm that the "kubectl patch" command line does NOT work either on Deployment apps/v1beta2 and later |
I've tried to do a PR for redis as an example, with its own "how to upgrade" in its readme. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
This issue is being automatically closed due to inactivity. |
I should close this - we've adopted the README policy. I'll update the summary above. |
Eh, review guidelines still need to be updated |
Fixes #5657 Signed-off-by: Scott Rigby <[email protected]>
Fixes helm#5657 Signed-off-by: Scott Rigby <[email protected]>
Current status
Any breaking (backwards incompatible) changes to a chart should:
Original summary
Hi everyone,
After @unguiculus reached started a Slack Charts maintainers DM about #5576, an unresolved problem emerged. We don't have a kubernetes/charts policy for how to handle breaking change upgrades.
Considerations
That PR made it clear we have two main choices:
appVersion
itself did not), and somehow clearly communicate the required upgrade steps to chart users who are upgrading from relevant previous versions to the current one (the steps themselves will vary by application and old/new version).Next steps
We plan to meet about determining some helpful guidelines about this. Possibilities discussed were UPGRADE_NOTES/CHANGELOG files for charts, or adding a new section to the README (perhaps under new section header such as
Upgrading
, just aboveInstalling the chart
so users are more likely to see it?).The ultimate goal of this issue is to track how we decide upon and document a consistent strategy for communicating additional info about breaking changes to users who want to upgrade from past versions of a chart.
The text was updated successfully, but these errors were encountered: