feat(argo-workflows): add the ability to declare initContainers (#1923)
feat(argo-workflows): add the ability to declare initContainers to server and controller deployments Signed-off-by: Justin Sievenpiper <justin@sievenpiper.co>
This commit is contained in:
parent
b19beee4f8
commit
56136f6518
5 changed files with 19 additions and 3 deletions
|
|
@ -32,6 +32,10 @@ spec:
|
|||
securityContext:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.controller.extraInitContainers }}
|
||||
initContainers:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: controller
|
||||
image: "{{- include "argo-workflows.image" (dict "context" . "image" .Values.controller.image) }}:{{ default (include "argo-workflows.defaultTag" .) .Values.controller.image.tag }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue