Added tolerations, nodeSelectors and affinity to argo-rollouts (#387)

* added tolerations, nodeSelectors and affinity

* update chart version

* Update values.yaml

* Update Chart.yaml
This commit is contained in:
smit thakkar 2020-07-13 03:52:28 +04:00 committed by GitHub
parent 6a09dda2ed
commit bc78e3cbe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 2 deletions

View file

@ -39,7 +39,19 @@ spec:
- name: tmp
mountPath: /tmp
resources:
{{- toYaml .Values.controller.resources | nindent 10 }}
{{- toYaml .Values.controller.resources | nindent 10 }}
{{- if .Values.controller.nodeSelector }}
nodeSelector:
{{- toYaml .Values.controller.nodeSelector | nindent 8 }}
{{- end }}
{{- if .Values.controller.tolerations }}
tolerations:
{{- toYaml .Values.controller.tolerations | nindent 8 }}
{{- end }}
{{- if .Values.controller.affinity }}
affinity:
{{- toYaml .Values.controller.affinity | nindent 8 }}
{{- end }}
volumes:
- name: tmp
emptyDir: {}