Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
David J. M. Karlsen 2019-12-12 09:48:55 +01:00
parent 59e91a411c
commit d666402325
No known key found for this signature in database
GPG key ID: F54982D216088EE1
4 changed files with 4 additions and 4 deletions

View file

@ -35,7 +35,7 @@ spec:
{{- toYaml .Values.controller.podLabels | nindent 8 }}
{{- end }}
spec:
{{- if .Values.securityContext.enabled }}
{{- if .Values.global.securityContext.enabled }}
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
{{- end }}
containers:

View file

@ -35,7 +35,7 @@ spec:
{{- toYaml .Values.controller.podLabels | nindent 8 }}
{{- end }}
spec:
{{- if .Values.securityContext.enabled }}
{{- if .Values.global.securityContext.enabled }}
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
{{- end }}
containers:

View file

@ -35,7 +35,7 @@ spec:
{{- toYaml .Values.controller.podLabels | nindent 8 }}
{{- end }}
spec:
{{- if .Values.securityContext.enabled }}
{{- if .Values.global.securityContext.enabled }}
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
{{- end }}
containers:

View file

@ -25,7 +25,7 @@ spec:
app.kubernetes.io/component: {{ .Values.redis.name }}
spec:
automountServiceAccountToken: false
{{- if .Values.securityContext.enabled }}
{{- if .Values.global.securityContext.enabled }}
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
{{- end }}
containers: