fix: ensure critical addons come up when the node is tainted

Rather than taint on `node-role.kubernetes.io/master=true:NoSchedule`, we check for `CriticalAddonsOnly=true:NoSchedule` and taint on that.
This commit is contained in:
Jose Diaz-Gonzalez committed 2024-01-23 03:00:27 -05:00
1 parent b64c3a1859
commit 2619c3db08
11 files changed
+400 -86

No files matched your search

@@ -0,0 +1,28 @@
installCRDs: true
tolerations:
- key: CriticalAddonsOnly
operator: Equal
value: "true"
effect: "NoSchedule"
webhook:
tolerations:
- key: CriticalAddonsOnly
operator: Equal
value: "true"
effect: "NoSchedule"
cainjector:
tolerations:
- key: CriticalAddonsOnly
operator: Equal
value: "true"
effect: "NoSchedule"
startupapicheck:
tolerations:
- key: CriticalAddonsOnly
operator: Equal
value: "true"
effect: "NoSchedule"