Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 03_launch_mgmt_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,7 @@ else
kubectl delete validatingwebhookconfiguration/"${BMO_NAME_PREFIX}"-validating-webhook-configuration --ignore-not-found=true
fi


# Tests might want to apply bmh inside the test scipt
# then dev-env will create the bmh files but do not apply them
if [[ "${SKIP_APPLY_BMH:-false}" = "true" ]]; then
Expand Down
10 changes: 5 additions & 5 deletions 03_launch_mgmt_cluster_pre_1_10.sh
Original file line number Diff line number Diff line change
Expand Up @@ -751,19 +751,19 @@ if [[ "${USE_IRSO}" = true ]]; then
else
launch_ironic
fi

if [[ "${BMO_RUN_LOCAL}" != true ]]; then
if ! kubectl rollout status deployment "${BMO_NAME_PREFIX}"-controller-manager -n "${IRONIC_NAMESPACE}" --timeout="${BMO_ROLLOUT_WAIT}"m; then
echo "baremetal-operator-controller-manager deployment can not be rollout"
exit 1
fi
else
# There is no certificate to run validation webhook on local.
# Thus we are deleting validatingwebhookconfiguration resource if exists
# to let BMO is working properly on local runs.
kubectl delete validatingwebhookconfiguration/"${BMO_NAME_PREFIX}"-validating-webhook-configuration --ignore-not-found=true
# There is no certificate to run validation webhook on local.
# Thus we are deleting validatingwebhookconfiguration resource if exists
# to let BMO is working properly on local runs.
kubectl delete validatingwebhookconfiguration/"${BMO_NAME_PREFIX}"-validating-webhook-configuration --ignore-not-found=true
fi


# Tests might want to apply bmh inside the test scipt
# then dev-env will create the bmh files but do not apply them
if [[ "${SKIP_APPLY_BMH:-false}" = "true" ]]; then
Expand Down