mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 16:09:08 +00:00
Merge branch 'master' into bug/media-common
This commit is contained in:
commit
b237726244
@ -51,6 +51,15 @@ app.kubernetes.io/name: {{ include "media-common.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Init Containers
|
||||
*/}}
|
||||
{{- define "media-common.initContainers" -}}
|
||||
{{- if .Values.initContainers }}
|
||||
{{- toYaml .Values.initContainers }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Additional Containers
|
||||
*/}}
|
||||
|
@ -27,6 +27,10 @@ spec:
|
||||
securityContext:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.initContainers }}
|
||||
initContainers:
|
||||
{{- include "media-common.initContainers" . | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ template "media-common.fullname" . }}
|
||||
{{- with .Values.securityContext }}
|
||||
|
@ -28,6 +28,10 @@ spec:
|
||||
securityContext:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.initContainers }}
|
||||
initContainers:
|
||||
{{- include "media-common.initContainers" . | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ template "media-common.fullname" . }}
|
||||
{{- with .Values.securityContext }}
|
||||
|
@ -117,6 +117,8 @@ persistence:
|
||||
## Do not delete the pvc upon helm uninstall
|
||||
skipuninstall: false
|
||||
|
||||
initContainers: []
|
||||
|
||||
additionalContainers: []
|
||||
|
||||
additionalVolumes: []
|
||||
|
Loading…
Reference in New Issue
Block a user