UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 8f72c469 authored by Ryan Garcia's avatar Ryan Garcia :dizzy: Committed by Brendon Lloyd
Browse files

Merge branch 'no-gitlab-redis-secret-clobber' into 'master'

No Gitlab Redis Secret Clobber

Closes platform-one/big-bang/apps/developer-tools/gitlab#126

See merge request platform-one/big-bang/bigbang!1431
parent 8410ed54
No related branches found
No related tags found
1 merge request!1426Release 1.29.x
Pipeline #717506 passed
{{- if or .Values.addons.gitlab.enabled .Values.addons.gitlabRunner.enabled }}
{{- if ne .Values.addons.gitlab.redis.password "" }}
{{- if and (ne .Values.addons.gitlab.redis.password "") (or .Values.addons.gitlab.enabled .Values.addons.gitlabRunner.enabled) }}
apiVersion: v1
kind: Secret
metadata:
name: gitlab-redis-secret
name: gitlab-redis-secret-bb
namespace: gitlab
type: Opaque
data:
secret: {{ .Values.addons.gitlab.redis.password | b64enc }}
{{- end }}
{{- end }}
\ No newline at end of file
......@@ -320,6 +320,12 @@ global:
{{- end }}
{{- end }}
{{- if and (ne .Values.addons.gitlab.redis.password "") (or .Values.addons.gitlab.enabled .Values.addons.gitlabRunner.enabled) }}
redis:
password:
secret: "gitlab-redis-secret-bb"
{{- end }}
{{- if ne .Values.addons.gitlab.objectStorage.iamProfile "" }}
use_iam_profile: true
{{- end }}
......
......@@ -139,6 +139,9 @@ grafana:
{{- if $istioInjection }}
podAnnotations:
{{ include "istioAnnotation" . }}
{{- if $gitlabRedis }}
checksum/gitlabRedisPassword: {{ sha256sum .Values.addons.gitlab.redis.password }}
{{- end }}
{{- end }}
{{- if or .Values.loki.enabled .Values.tempo.enabled $gitlabRedis $authserviceRedisEnabled .Values.addons.argocd.enabled }}
......
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