feat(argo-workflows): Add volume and volumeMount parameters to controller (#1147)

* feat(argo-workflows): Add controller volumes

Signed-off-by: John Clark <clark.john.d@outlook.com>

* Chart.yaml mispelling (paramaters > parameters)

Signed-off-by: John Clark <clark.john.d@outlook.com>

* Apply suggestions from code review

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
John Clark 2022-03-01 09:52:55 +00:00 committed by GitHub
parent 7248992d65
commit 4464f2a526
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 2 deletions

View file

@ -74,6 +74,10 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.controller.resources | nindent 12 }}
{{- with .Values.controller.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 10 }}
{{- end }}
ports:
- name: {{ .Values.controller.metricsConfig.portName }}
containerPort: {{ .Values.controller.metricsConfig.port }}
@ -86,6 +90,10 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.controller.volumes }}
volumes:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.controller.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}