File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 849849 kubectl delete validatingwebhookconfiguration/" ${BMO_NAME_PREFIX} " -validating-webhook-configuration --ignore-not-found=true
850850fi
851851
852+
852853# Tests might want to apply bmh inside the test scipt
853854# then dev-env will create the bmh files but do not apply them
854855if [[ " ${SKIP_APPLY_BMH:- false} " = " true" ]]; then
Original file line number Diff line number Diff line change @@ -751,19 +751,19 @@ if [[ "${USE_IRSO}" = true ]]; then
751751else
752752 launch_ironic
753753fi
754-
755754if [[ " ${BMO_RUN_LOCAL} " != true ]]; then
756755 if ! kubectl rollout status deployment " ${BMO_NAME_PREFIX} " -controller-manager -n " ${IRONIC_NAMESPACE} " --timeout=" ${BMO_ROLLOUT_WAIT} " m; then
757756 echo " baremetal-operator-controller-manager deployment can not be rollout"
758757 exit 1
759758 fi
760759else
761- # There is no certificate to run validation webhook on local.
762- # Thus we are deleting validatingwebhookconfiguration resource if exists
763- # to let BMO is working properly on local runs.
764- kubectl delete validatingwebhookconfiguration/" ${BMO_NAME_PREFIX} " -validating-webhook-configuration --ignore-not-found=true
760+ # There is no certificate to run validation webhook on local.
761+ # Thus we are deleting validatingwebhookconfiguration resource if exists
762+ # to let BMO is working properly on local runs.
763+ kubectl delete validatingwebhookconfiguration/" ${BMO_NAME_PREFIX} " -validating-webhook-configuration --ignore-not-found=true
765764fi
766765
766+
767767# Tests might want to apply bmh inside the test scipt
768768# then dev-env will create the bmh files but do not apply them
769769if [[ " ${SKIP_APPLY_BMH:- false} " = " true" ]]; then
You can’t perform that action at this time.
0 commit comments