Maintaining the upgrade stop in the charts project
The GitLab chart creates a pre-upgrade hook that checks if the upgrade follows a valid upgrade path.
If the upgrade path is invalid, the upgrade will be aborted.
To apply a new upgrade stop:
- A new upgrade stop must be applied in the next minor release. For example, the 16.3 upgrade stop must be merged into 16.4.
- Change
MIN_VERSION
andCHART_MIN_VERSION
intemplates/_runcheck.tpl
. - Update the test cases in
scripts/debug/test_runcheck.sh
. - Confirm that the test cases pass.