mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 16:09:08 +00:00
[media-common] Wrap in conditional statement
Had a feeling I needed this!
This commit is contained in:
parent
374b098436
commit
3ee806f563
@ -27,8 +27,10 @@ spec:
|
||||
securityContext:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.initContainers }}
|
||||
initContainers:
|
||||
{{- include "media-common.initContainers" . | nindent 8 }}
|
||||
{{- include "media-common.initContainers" . | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ template "media-common.fullname" . }}
|
||||
{{- with .Values.securityContext }}
|
||||
|
@ -28,8 +28,10 @@ spec:
|
||||
securityContext:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.initContainers }}
|
||||
initContainers:
|
||||
{{- include "media-common.initContainers" . | nindent 8 }}
|
||||
{{- include "media-common.initContainers" . | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ template "media-common.fullname" . }}
|
||||
{{- with .Values.securityContext }}
|
||||
|
Loading…
Reference in New Issue
Block a user