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 <tnielsen@redhat.com>
(cherry picked from commit 1a37f6088c)
This commit is contained in:
1 parent
30a4f7be8e
commit
330e17bb13
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user