Merge "Use control-plane label for nodeSelector and Tolerations"

This commit is contained in:
Zuul 2022-11-01 17:13:42 +00:00 committed by Gerrit Code Review
commit 619aa8b59f
2 changed files with 6 additions and 0 deletions

View File

@ -223,3 +223,6 @@ spec:
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"

View File

@ -27,6 +27,9 @@ spec:
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
{{- if .Values.registration.affinity }}
affinity:
{{ toYaml .Values.registration.affinity | indent 8 }}