From e6f9cb750d0118dd1ee47fdfb7b74dffc2962269 Mon Sep 17 00:00:00 2001 From: Leela Venkaiah G Date: Fri, 4 Oct 2024 03:30:39 +0000 Subject: [PATCH] [DOWNSTREAM ONLY] add ocs default toleration to controller podspec all components deployed as part of odf should tolerate this taint by default "node.ocs.openshift.io/storage=true:NoSchedule" part of https://bugzilla.redhat.com/show_bug.cgi?id=2315651 Signed-off-by: Leela Venkaiah G --- config/manager/manager.yaml | 5 +++++ deploy/controller/setup-controller.yaml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index aa0a08e94..18e8571a7 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -69,3 +69,8 @@ spec: memory: 64Mi serviceAccountName: csi-addons-controller-manager terminationGracePeriodSeconds: 10 + tolerations: + - effect: NoSchedule + key: node.ocs.openshift.io/storage + operator: Equal + value: "true" diff --git a/deploy/controller/setup-controller.yaml b/deploy/controller/setup-controller.yaml index d602b6024..23ace39b2 100644 --- a/deploy/controller/setup-controller.yaml +++ b/deploy/controller/setup-controller.yaml @@ -108,3 +108,8 @@ spec: runAsNonRoot: true serviceAccountName: csi-addons-controller-manager terminationGracePeriodSeconds: 10 + tolerations: + - effect: NoSchedule + key: node.ocs.openshift.io/storage + operator: Equal + value: "true"