move HYDRA_CLIENT_SECRET and KRATOS_URL out of IF
This commit is contained in:
parent
c2abc6802e
commit
30393e2da4
1 changed files with 6 additions and 6 deletions
|
@ -132,12 +132,6 @@ spec:
|
|||
secretKeyRef:
|
||||
name: {{ include "backend.secretName" . }}
|
||||
key: backend-password
|
||||
{{- if (include "backend.smtp.password.enabled" .) }}
|
||||
- name: DASHBOARD_SMTP_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ include "backend.smtp.secretName" . }}
|
||||
key: smtp-password
|
||||
- name: HYDRA_CLIENT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
@ -145,6 +139,12 @@ spec:
|
|||
key: oidc-client-secret
|
||||
- name: KRATOS_URL
|
||||
value: {{ .Values.backend.kratosUrl }}
|
||||
{{- if (include "backend.smtp.password.enabled" .) }}
|
||||
- name: DASHBOARD_SMTP_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ include "backend.smtp.secretName" . }}
|
||||
key: smtp-password
|
||||
{{- end }}
|
||||
{{- if .Values.backend.extraEnvVars }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.backend.extraEnvVars "context" $) | nindent 12 }}
|
||||
|
|
Loading…
Reference in a new issue