Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions helm/mysql-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,6 @@ spec:
{{- if ((.Values).nodeSelector) }}
nodeSelector: {{ toYaml .Values.nodeSelector | nindent 8 }}
{{- end }}
{{- if ((.Values).tolerations) }}
tolerations: {{ toYaml .Values.tolerations | nindent 8 }}
{{- end }}
7 changes: 7 additions & 0 deletions helm/mysql-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ replicas: 1
#nodeSelector:
# failure-domain.beta.kubernetes.io/zone: US-ASHBURN-AD-1

# An example of using tolerations for scheduling the operator pods :
# tolerations:
# - key: "dedicated"
# operator: "Equal"
# value: "system"
# effect: "NoSchedule"

# If you would like to debug the Helm output with `helm template`, you need
# to turn disableLookups on as during `helm template` Helm won't contact the kube API
# and all lookups will thus fail
Expand Down