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:

  1. 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.
  2. Change MIN_VERSION and CHART_MIN_VERSION in templates/_runcheck.tpl.
  3. Update the test cases in scripts/debug/test_runcheck.sh.
  4. Confirm that the test cases pass.