Update Chart to allow UBI suffix on tags globally
Summary
The current process defined here describes support the UBI based images; however, there is not an easy way to enable UBI images in the helm chart values. Currently, the helm chart sample advises updating the image tag https://gitlab.com/gitlab-org/charts/gitlab/-/blob/master/examples/ubi/values.yaml which is undesirable because of the manual labor involved in tracking the GitLab versions for each tag. Lastly, we simply don't want to reference a branch tag for a GitLab deployment.
Steps to reproduce
Apply the example helm chart:
Configuration used
gitlab:
gitaly:
image:
tag: master-ubi8
gitlab-exporter:
image:
tag: master-ubi8
gitlab-shell:
image:
tag: main-ubi8 # gitlab-shell's default branch is main, not master!
# This is needed for `gitlab-shell` because `nginx-ingress` is disabled.
service:
externalIPs:
- x.x.x.x # Your IP address for `gitlab-shell`.
gitlab-mailroom:
image:
tag: master-ubi8
migrations:
image:
tag: master-ubi8
sidekiq:
image:
tag: master-ubi8
toolbox:
image:
tag: master-ubi8
# See: https://gitlab.com/gitlab-org/charts/gitlab/tree/master/doc/advanced/external-object-storage
backups:
objectStorage:
config:
secret: my-s3cmd-config # You config for 's3cmd'.
key: config
webservice:
image:
tag: master-ubi8
workhorse:
tag: master-ubi8
Current behavior
Unable to track version updates easily using the helm chart when overwriting default values
Expected behavior
global:
# add a suffix to the ubi capable image tags like we do for hostSuffix
ubiImages: true
Edited by Tanner Bragg