We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0427a1f commit 4778949Copy full SHA for 4778949
sentry/templates/hooks/user-create.yaml
@@ -40,6 +40,14 @@ spec:
40
args:
41
- "-c"
42
- "export output=$(sentry createuser --no-input --email {{ .Values.user.email }} --superuser --password {{ .Values.user.password }}) || true"
43
+ {{- if .Values.postgresql.enabled }}
44
+ env:
45
+ - name: POSTGRES_PASSWORD
46
+ valueFrom:
47
+ secretKeyRef:
48
+ name: {{ include "sentry.postgresql.fullname" . }}
49
+ key: postgresql-password
50
+ {{- end }}
51
volumeMounts:
52
- mountPath: /etc/sentry
53
name: config
@@ -50,4 +58,4 @@ spec:
58
- name: config
59
configMap:
60
name: {{ template "sentry.fullname" . }}-sentry
-{{- end -}}
61
+{{- end -}}
0 commit comments