feat: use globalsecuritycontext for dex too, trim whitespace (#248)

Signed-off-by: David Karlsen <david@davidkarlsen.com>
This commit is contained in:
David J. M. Karlsen 2020-02-22 03:14:00 +01:00 committed by Carlos Juan Gómez Peñalver
parent 4499edcce0
commit 673a5ee28b

View file

@ -27,6 +27,9 @@ spec:
app.kubernetes.io/component: {{ .Values.dex.name }}
app.kubernetes.io/version: {{ .Values.dex.image.tag }}
spec:
{{- if .Values.global.securityContext }}
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
{{- end }}
initContainers:
- name: copyutil
image: {{ default .Values.global.image.repository .Values.dex.initImage.repository }}:{{ default .Values.global.image.tag .Values.dex.initImage.tag }}