From 330e17bb13debb44bfd282320d7db697c607a6e0 Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Thu, 4 Jun 2026 10:49:26 -0600 Subject: [PATCH] ci: canary tests only start one csi controller Two csi controllers cannot start on minikube, so the CI was failing in the canary and nvmeof tests when they validated that the controllers were running. For the tests that validate the csi controllers, ensure only a single controller is configured. Signed-off-by: Travis Nielsen (cherry picked from commit 1a37f6088c1f36cbe10b11f05ea680afecf90891) --- tests/scripts/github-action-helper.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/scripts/github-action-helper.sh b/tests/scripts/github-action-helper.sh index 1b57f375c..dd58727fe 100755 --- a/tests/scripts/github-action-helper.sh +++ b/tests/scripts/github-action-helper.sh @@ -305,6 +305,9 @@ 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 + fi if [[ "$USE_LOCAL_BUILD" != "false" ]]; then sed -i "s|image: docker.io/rook/ceph:.*|image: docker.io/rook/ceph:local-build|g" $1 fi