diff --git a/versions/kruise-rollout/0.4/templates/manager.yaml b/versions/kruise-rollout/0.4/templates/manager.yaml index 8f3d917..69f4525 100644 --- a/versions/kruise-rollout/0.4/templates/manager.yaml +++ b/versions/kruise-rollout/0.4/templates/manager.yaml @@ -96,3 +96,7 @@ spec: - {{ .Values.rollout.fullname }} topologyKey: kubernetes.io/hostname weight: 100 + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} diff --git a/versions/kruise-rollout/0.4/values.yaml b/versions/kruise-rollout/0.4/values.yaml index 3985400..a376147 100644 --- a/versions/kruise-rollout/0.4/values.yaml +++ b/versions/kruise-rollout/0.4/values.yaml @@ -59,3 +59,13 @@ resources: # requests: # cpu: 100m # memory: 128Mi + +tolerations: +# Toleration represents the toleration object that can be attached to a pod. +# The pod this Toleration is attached to tolerates any taint that matches +# the triple using the matching operator . +# you could find more info at https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ +# - effect: NoSchedule +# key: test +# operator: Equal +# value: hello