Skip to content

Commit 3dd08bb

Browse files
committed
Support additional taints tolerations
Signed-off-by: Dinar Valeev <[email protected]>
1 parent 24d19e2 commit 3dd08bb

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

chart/templates/deployment.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ spec:
6363
requiredDuringSchedulingIgnoredDuringExecution:
6464
nodeSelectorTerms: {{ include "linux-node-selector-terms" . | nindent 14 }}
6565
tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
66+
{{- if .Values.tolerations }}
67+
{{ toYaml .Values.tolerations | indent 8 }}
68+
{{- end }}
6669
containers:
6770
- image: {{ .Values.rancherImage }}:{{ default .Chart.AppVersion .Values.rancherImageTag }}
6871
imagePullPolicy: {{ default "IfNotPresent" .Values.rancherImagePullPolicy }}

chart/values.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ startupProbe:
178178
timeoutSeconds: 5
179179
periodSeconds: 10
180180
failureThreshold: 12
181+
182+
# Additional taints to tolerate
183+
tolerations: {}
184+
181185
livenessProbe:
182186
timeoutSeconds: 5
183187
periodSeconds: 30

0 commit comments

Comments
 (0)