Add tolerations to csr-approver for hccm.

This commit is contained in:
Joseph Hanson 2023-12-12 13:11:27 -06:00
parent c0261d7053
commit 844879f83e
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -16,6 +16,17 @@ spec:
name: postfinance
namespace: flux-system
interval: 30m
values:
tolerations:
# https://github.com/hetznercloud/hcloud-cloud-controller-manager
# Allow HCCM itself to schedule on nodes that have not yet been initialized by HCCM.
- key: "node.cloudprovider.kubernetes.io/uninitialized"
value: "true"
effect: "NoSchedule"
- key: "CriticalAddonsOnly"
operator: "Exists"
valuesFrom:
- kind: ConfigMap
name: kubelet-csr-approver-values