UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit dcd45c90 authored by Ryan Garcia's avatar Ryan Garcia :dizzy:
Browse files

Merge branch 'remove-reigstry-bucket' into 'master'

Gitlab - allow override of registry bucket name

See merge request platform-one/big-bang/bigbang!521
parents db8f13b6 1b9ca7e6
No related branches found
No related tags found
1 merge request!521Gitlab - allow override of registry bucket name
Pipeline #321100 passed
......@@ -20,8 +20,12 @@ stringData:
{{- end }}
registry: |-
s3:
{{- $global := .Values.addons.gitlab.values.global | default dict }}
{{- $registryConfig := $global.registry | default dict }}
{{- if .Values.addons.gitlab.objectStorage.bucketPrefix }}
bucket: {{ .Values.addons.gitlab.objectStorage.bucketPrefix }}-gitlab-registry
{{- else if hasKey $registryConfig "bucket" }}
bucket: {{ .Values.addons.gitlab.values.global.registry.bucket }}
{{- else }}
bucket: gitlab-registry
{{- end }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment