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:
|
secretKeyRef:
|
||||||
name: {{ include "backend.secretName" . }}
|
name: {{ include "backend.secretName" . }}
|
||||||
key: backend-password
|
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
|
- name: HYDRA_CLIENT_SECRET
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
@ -145,6 +139,12 @@ spec:
|
||||||
key: oidc-client-secret
|
key: oidc-client-secret
|
||||||
- name: KRATOS_URL
|
- name: KRATOS_URL
|
||||||
value: {{ .Values.backend.kratosUrl }}
|
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 }}
|
{{- end }}
|
||||||
{{- if .Values.backend.extraEnvVars }}
|
{{- if .Values.backend.extraEnvVars }}
|
||||||
{{- include "common.tplvalues.render" (dict "value" .Values.backend.extraEnvVars "context" $) | nindent 12 }}
|
{{- include "common.tplvalues.render" (dict "value" .Values.backend.extraEnvVars "context" $) | nindent 12 }}
|
||||||
|
|
Loading…
Reference in a new issue