UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 40dc4fde authored by Micah Nagel's avatar Micah Nagel
Browse files

Merge branch '1317-gitlab-logic' into 'master'

Updating endpoint logic in gitlab objectstorage secret

See merge request platform-one/big-bang/bigbang!2197
parents 9e6e190a 4d1e401d
No related branches found
No related tags found
1 merge request!2197Updating endpoint logic in gitlab objectstorage secret
Pipeline #1049494 passed with warnings
......@@ -17,10 +17,11 @@ stringData:
aws_access_key_id: {{ .Values.addons.gitlab.objectStorage.accessKey }}
aws_secret_access_key: {{ .Values.addons.gitlab.objectStorage.accessSecret }}
{{- end }}
{{- if .Values.addons.gitlab.objectStorage.endpoint }}
endpoint: "{{ .Values.addons.gitlab.objectStorage.endpoint }}"
{{- end }}
{{- if eq .Values.addons.gitlab.objectStorage.type "minio" }}
aws_signature_version: 4
host: {{ regexReplaceAll "http(s{0,1})://(.*):(\\d+)" .Values.addons.gitlab.objectStorage.endpoint "${2}" }}
endpoint: "{{ .Values.addons.gitlab.objectStorage.endpoint }}"
path_style: true
{{- end }}
registry: |-
......@@ -39,13 +40,14 @@ stringData:
secretkey: {{ .Values.addons.gitlab.objectStorage.accessSecret }}
{{- end }}
region: {{ .Values.addons.gitlab.objectStorage.region }}
{{- if .Values.addons.gitlab.objectStorage.endpoint }}
regionendpoint: "{{ .Values.addons.gitlab.objectStorage.endpoint }}"
{{- end }}
{{- if eq .Values.addons.gitlab.objectStorage.type "s3" }}
v4auth: true
{{- end }}
{{- if eq .Values.addons.gitlab.objectStorage.type "minio" }}
aws_signature_version: 4
host: {{ regexReplaceAll "http(s{0,1})://(.*):(\\d+)" .Values.addons.gitlab.objectStorage.endpoint "${2}" }}
regionendpoint: "{{ .Values.addons.gitlab.objectStorage.endpoint }}"
path_style: true
{{- end }}
backups: |-
......
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