Skip to content

Commit

Permalink
fix: app initContainers
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed May 22, 2024
1 parent dca93d8 commit ed7e697
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/contrib/charts/app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions plugins/contrib/charts/app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@ securityContext:
# runAsUser: 26
containerSecurityContext:

initContainers:
sidecars: []

0 comments on commit ed7e697

Please sign in to comment.