mirror of https://git.rancher.io/charts
Add support for specifying nodeSelectors and tolerations to rancher-alerting/rancher-alerting-drivers
parent
b56eae4af1
commit
2ee772ff8e
|
@ -17,7 +17,13 @@ spec:
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
|
nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
|
||||||
|
{{- if .Values.nodeSelector }}
|
||||||
|
{{ toYaml .Values.nodeSelector | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
|
tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
|
||||||
|
{{- if .Values.tolerations }}
|
||||||
|
{{ toYaml .Values.tolerations | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ include "drivers.fullname" . }}-patch-sa
|
- name: {{ include "drivers.fullname" . }}-patch-sa
|
||||||
image: "{{ include "system_default_registry" . }}{{ .Values.global.kubectl.repository }}:{{ .Values.global.kubectl.tag }}"
|
image: "{{ include "system_default_registry" . }}{{ .Values.global.kubectl.repository }}:{{ .Values.global.kubectl.tag }}"
|
||||||
|
|
|
@ -18,3 +18,10 @@ prom2teams:
|
||||||
|
|
||||||
sachet:
|
sachet:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
## Node labels for pod assignment
|
||||||
|
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||||
|
##
|
||||||
|
nodeSelector: {}
|
||||||
|
## List of node taints to tolerate (requires Kubernetes >= 1.6)
|
||||||
|
tolerations: []
|
||||||
|
|
Loading…
Reference in New Issue