From 8121c4046f068a8dab2044f63f0fbeb5119e77e8 Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Wed, 13 Dec 2023 16:50:53 +0530 Subject: [PATCH] ci: fix multi-cluster-mirroing canary-test use `sed` to update all the namespace in filesystem-test.yaml file. Since with subvolumegroup CR added there are more than one `namespace: *` present and only one was updating by yq command. Signed-off-by: subhamkrai (cherry picked from commit c05578a019212ec8c090b94077b00ec62e660308) --- .github/workflows/canary-integration-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/canary-integration-test.yml b/.github/workflows/canary-integration-test.yml index 2229dff47..a5d7b8b52 100644 --- a/.github/workflows/canary-integration-test.yml +++ b/.github/workflows/canary-integration-test.yml @@ -1213,7 +1213,7 @@ jobs: - name: create replicated mirrored filesystem on cluster 2 run: | cd deploy/examples/ - yq w -i filesystem-test.yaml metadata.namespace rook-ceph-secondary + sed -i 's/namespace: rook-ceph/namespace: rook-ceph-secondary/g' filesystem-test.yaml yq w -i filesystem-test.yaml spec.mirroring.enabled true kubectl create -f filesystem-test.yaml