diff --git a/plugins/contrib/charts/app/templates/deployment.yaml b/plugins/contrib/charts/app/templates/deployment.yaml index 305d95f7a..2446cd63c 100644 --- a/plugins/contrib/charts/app/templates/deployment.yaml +++ b/plugins/contrib/charts/app/templates/deployment.yaml @@ -51,6 +51,9 @@ spec: {{- if .Values.waitForPostgres }} {{- include "contrib-helpers.init-containers.wait-for-postgres" . | nindent 8 }} {{- end }} + {{- if .Values.initContainers }} + {{- tpl (.Values.initContainers | toYaml) . | nindent 8 }} + {{- end }} volumes: {{- if gt (len .Values.volumes) 0 }} {{- tpl (.Values.volumes | toYaml) . | nindent 8 }} diff --git a/plugins/contrib/charts/app/values.yaml b/plugins/contrib/charts/app/values.yaml index 35d23b993..1c32011e9 100644 --- a/plugins/contrib/charts/app/values.yaml +++ b/plugins/contrib/charts/app/values.yaml @@ -64,4 +64,5 @@ securityContext: # runAsUser: 26 containerSecurityContext: +initContainers: sidecars: []