UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 1b61b228 authored by Michael Martin's avatar Michael Martin Committed by Ryan Garcia
Browse files

No Gitlab Redis Secret Clobber

parent 65e9abdf
No related branches found
No related tags found
2 merge requests!1658Draft: Merge branch 'tempo_tracing_updates' into 'master',!1431No Gitlab Redis Secret Clobber
{{- 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