Skip to content

Consider patch versions for MIN_VERSION

Summary

When detecting the minimum version required for an upgrade, Chart should consider up to the patch version level. This is because our upgrade path includes many upgrade stops identified in patch versions:

https://docs.gitlab.com/ee/update/index.html#upgrade-paths

It's worth noting that the upgrade path yaml currently does not provide patch versions: https://gitlab.com/gitlab-com/support/toolbox/upgrade-path/-/blob/754b623f226e5cbd49a5a13c83ae70b1cb084131/upgrade-path.yml

We should validate if the usage of sort -V in our MIN_VERSION validation is enough to guarantee that the chart is capable of taking patch versions into consideration, or whether we need to add anything more. If we need to, then implement it.

Code lives in templates/_runcheck.tpl.

Edited by João Alexandre Cunha