Add tolerations to CDI pods

Add missing tolerations to CDI pods.
CDI pods missing these tolerations may
remain in a 'pending' state.

PASS:
  Install kubevirt-app and verify toleration
  labels on all cdi pods.

Closes-Bug: 2058283

Change-Id: Ie4a1fb855e7d35b9dcef1eeedfae36cd623f2756
Signed-off-by: Aronsky, Gleb <Gleb.Aronsky@windriver.com>
This commit is contained in:
Aronsky, Gleb 2024-03-18 13:34:17 -07:00
parent ce7acabbe6
commit 9e25939381

View File

@ -39,6 +39,12 @@ spec:
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
operator: Exists
- effect: NoSchedule
key: node-role.kubernetes.io/master
operator: Exists
workload:
nodeSelector:
kubernetes.io/os: linux