Update trident deployment tolerations config

The empty tolerations config in "trident-deployment.yaml.j2" file
prevents correct trident installation on all nodes. This commit
adds master and control-plane tolerations.

Test Plan:
-PASS: Verify successful Trident installation in standard system.

Closes-Bug: 2003734

Signed-off-by: Gabriel de Araújo Cabral <gabriel.cabral@windriver.com>
Change-Id: Iaca68a93ed8dc0f4909cfa3fd4072de30549f0e0
This commit is contained in:
Gabriel de Araújo Cabral
2023-01-23 12:07:16 -05:00
committed by Erickson Silva de Oliveira
parent 868a4bfff5
commit 37a83950e8

View File

@@ -158,7 +158,13 @@ spec:
node-role.kubernetes.io/control-plane: ""
kubernetes.io/os: linux
kubernetes.io/arch: amd64
tolerations: []
tolerations:
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
volumes:
- name: socket-dir
emptyDir: