Skip to content

Commit 75f6813

Browse files
authored
Add support for tolerations to operator's Helm chart (#3637)
* Add support for tolerations to operator's Helm chart
1 parent 2855330 commit 75f6813

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

kubernetes/charts/weblogic-operator/templates/_operator-dep.tpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ spec:
4646
affinity:
4747
{{- toYaml . | nindent 8 }}
4848
{{- end }}
49+
{{- with .tolerations }}
50+
tolerations:
51+
{{- toYaml . | nindent 8 }}
52+
{{- end }}
4953
containers:
5054
- name: "weblogic-operator"
5155
image: {{ .image | quote }}

kubernetes/charts/weblogic-operator/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,11 @@ preserveWebhook: false
182182
# for more information on affinity and anti-affinity.
183183
#affinity:
184184

185+
# tolerations and taints work together to ensure that pods are not scheduled on inappropriate nodes. If the tolerations value is specified,
186+
# then this content will be added to the operator's deployment. See https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
187+
# for more information on tolerations and taints.
188+
#tolerations:
189+
185190
# Values related to debugging the operator.
186191
# Customers should not need to use the following properties
187192

0 commit comments

Comments
 (0)