From 426225a60a705cca5975dcefe7381edb4d395fe4 Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Fri, 5 Jun 2026 12:27:30 +0530 Subject: [PATCH] csi: csi-addons should be disabled by default having csi-addons enabled by default is causing random pod restart on non-openshift cluster. Let's disable it by default. Signed-off-by: subhamkrai (cherry picked from commit 34b0a87c9e92c398162efa89d3a662907cad31c3) --- deploy/examples/operator-openshift.yaml | 2 +- deploy/examples/operator.yaml | 2 +- tests/scripts/github-action-helper.sh | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/deploy/examples/operator-openshift.yaml b/deploy/examples/operator-openshift.yaml index 264d20cbd..6715343eb 100644 --- a/deploy/examples/operator-openshift.yaml +++ b/deploy/examples/operator-openshift.yaml @@ -210,7 +210,7 @@ spec: enableMetadata: true generateOMapInfo: false fsGroupPolicy: File - deployCsiAddons: true + deployCsiAddons: false cephFsClientType: kernel nodePlugin: priorityClassName: "system-node-critical" diff --git a/deploy/examples/operator.yaml b/deploy/examples/operator.yaml index 0ab09851b..6221ca48d 100644 --- a/deploy/examples/operator.yaml +++ b/deploy/examples/operator.yaml @@ -130,7 +130,7 @@ spec: enableMetadata: true generateOMapInfo: false fsGroupPolicy: File - deployCsiAddons: true + deployCsiAddons: false cephFsClientType: kernel nodePlugin: priorityClassName: "system-node-critical" diff --git a/tests/scripts/github-action-helper.sh b/tests/scripts/github-action-helper.sh index dd58727fe..5ee3fe905 100755 --- a/tests/scripts/github-action-helper.sh +++ b/tests/scripts/github-action-helper.sh @@ -306,7 +306,8 @@ function remove_cluster_prerequisites() { function deploy_manifest_with_local_build() { if [[ "$1" == "deploy/examples/operator.yaml" || "$1" == "operator.yaml" ]]; then - sed -i "s|replicas: 2|replicas: 1|g" $1 + sed -i "s|deployCsiAddons: false|deployCsiAddons: true|g" $1 + sed -i "s|replicas: 2|replicas: 1|g" $1 fi if [[ "$USE_LOCAL_BUILD" != "false" ]]; then sed -i "s|image: docker.io/rook/ceph:.*|image: docker.io/rook/ceph:local-build|g" $1