HELM: also add option for nodeSelector
This commit is contained in:
parent
6a94d8ccd2
commit
81430ffbb2
@ -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 }}
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user