UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 3d4a281c authored by Ryan Garcia's avatar Ryan Garcia :dizzy:
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
parents 13ffb1c6 1b61b228
No related branches found
No related tags found
2 merge requests!1658Draft: Merge branch 'tempo_tracing_updates' into 'master',!1431No Gitlab Redis Secret Clobber
Pipeline #717439 passed with warnings
{{- 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