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" - name: "{{ .Chart.Name }}-config"
secret: secret:
secretName: {{ template "clair.fullname" . }} secretName: {{ template "clair.fullname" . }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
{{- if .Values.tolerations }} {{- if .Values.tolerations }}
tolerations: tolerations:
{{ toYaml .Values.tolerations | indent 8 }} {{ toYaml .Values.tolerations | indent 8 }}

View File

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