HELM: also add option for nodeSelector

This commit is contained in:
Jeff Knurek 2018-12-10 11:42:48 +01:00
parent 6a94d8ccd2
commit 81430ffbb2
2 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,10 @@ spec:
- name: "{{ .Chart.Name }}-config"
secret:
secretName: {{ template "clair.fullname" . }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}

View File

@ -55,6 +55,7 @@ config:
- apk
- dpkg
- rpm
nodeSelector: {}
tolerations: []
# Configuration values for the postgresql dependency.