mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
20 lines
781 B
YAML
20 lines
781 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "gitlab-ee.fullname" . }}
|
|
labels:
|
|
app: {{ template "gitlab-ee.fullname" . }}
|
|
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
|
release: "{{ .Release.Name }}"
|
|
heritage: "{{ .Release.Service }}"
|
|
type: Opaque
|
|
data:
|
|
{{- if default "" .Values.gitlabRootPassword }}
|
|
# Defaulting to a non-sensical value to silence b64enc warning. We'll never
|
|
# actually use this default due to the if statement.
|
|
gitlab-root-password: {{ default "ignore" .Values.gitlabRootPassword | b64enc | quote }}
|
|
{{ end }}
|
|
db-user: {{ .Values.postgresql.postgresUser | b64enc | quote }}
|
|
db-password: {{ .Values.postgresql.postgresPassword | b64enc | quote }}
|
|
redis-password: {{ .Values.redis.redisPassword | b64enc | quote }}
|