Update release-tools to set `global.gitlabVersion` in values.yaml
Summary
Context: !2878 (comment 1202232492)
For #3717 (closed), we want the helper images (kubectl, cfssl-self-sign, and alpine-certificates) to use the GitLab version as the tag.
This is easy enough to do in the subcharts that use that GitLab version in each Chart.yaml appVersion
field, but poses a problem in charts that do not (such as gitlab-shell, registry, and gitlab-exporter).
Because child charts cannot access values from parent charts, we can't simply reference the parent chart's appVersion
value.
To work around this, we could use release-tools
to update the global.gitlabVersion
field in the parent chart's values.yaml
file. This value would be accessible from any child charts.
References
Acceptance criteria
-
release-tools
updates the parent GitLab chart'sglobal.gitlabVersion
field to the same GitLab version that is injected into the Chart.yaml'sappVersion
field
Once addressed, we can address #3717 (closed) to ensure the helper image tags are set to the value of global.gitlabVersion
when configured