File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1230,6 +1230,16 @@ jobs:
12301230 echo "[INFO] Checking virt-handler pods "
12311231 virt_handler_ready
12321232
1233+ echo "[INFO] Switch virtualization module to maintenance mode"
1234+ kubectl patch mc virtualization --type merge --patch '{"spec":{"maintenance":"NoResourceReconciliation"}}'
1235+ if [[ "${{ inputs.storage_type }}" == "replicated" ]]; then
1236+ echo "[INFO] Switch sds-replicated-volume module to maintenance mode"
1237+ kubectl patch mc sds-replicated-volume --type merge --patch '{"spec":{"maintenance":"NoResourceReconciliation"}}'
1238+ elif [[ "${{ inputs.storage_type }}" == "nfs" ]]; then
1239+ echo "[INFO] Switch csi-nfs module to maintenance mode"
1240+ kubectl patch mc csi-nfs --type merge --patch '{"spec":{"maintenance":"NoResourceReconciliation"}}'
1241+ fi
1242+
12331243 e2e-test :
12341244 name : E2E test
12351245 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments