Handle additional initContainers correctly in the dex deployment (#1442)
Signed-off-by: bakito <github@bakito.ch>
This commit is contained in:
parent
db0957d3cb
commit
a6a2d1b1db
2 changed files with 5 additions and 6 deletions
|
|
@ -47,6 +47,9 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /shared
|
||||
name: static-files
|
||||
{{- if .Values.dex.initContainers }}
|
||||
{{- toYaml .Values.dex.initContainers | nindent 6 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ .Values.dex.name }}
|
||||
image: {{ .Values.dex.image.repository }}:{{ .Values.dex.image.tag }}
|
||||
|
|
@ -146,10 +149,6 @@ spec:
|
|||
{{- if .Values.dex.extraVolumes }}
|
||||
{{- toYaml .Values.dex.extraVolumes | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- if .Values.dex.initContainers }}
|
||||
initContainers:
|
||||
{{- toYaml .Values.dex.initContainers | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- if .Values.dex.priorityClassName }}
|
||||
priorityClassName: {{ .Values.dex.priorityClassName }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue