use the same tolerations config for coredns-autoscaler deployment as for main coredns deployment

This commit is contained in:
Moshe Shitrit 2022-11-06 19:05:29 -05:00
parent f8fe433b4c
commit c44f8a94c5
1 changed files with 6 additions and 2 deletions

View File

@ -348,8 +348,12 @@ spec:
- --v=2
priorityClassName: system-cluster-critical
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"
{{- if KubeDNS.Tolerations }}
{{ ToYAML .KubeDNS.Tolerations | indent 8 }}
{{- else }}
- key: "CriticalAddonsOnly"
operator: "Exists"
{{- end }}
serviceAccountName: coredns-autoscaler
nodeSelector:
kubernetes.io/os: linux