diff --git a/hack/kind-down.sh b/hack/kind-down.sh index d90ccef2..be359cb4 100755 --- a/hack/kind-down.sh +++ b/hack/kind-down.sh @@ -8,4 +8,9 @@ set -euo pipefail ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" cd "${ROOT}" +reg_name='kind-registry.local' +docker network disconnect "kind" "${reg_name}" || true +docker stop "${reg_name}" || true +docker rm "${reg_name}" || true + kind delete cluster --name pinniped diff --git a/hack/prepare-for-integration-tests.sh b/hack/prepare-for-integration-tests.sh index d906808e..450d7e5f 100755 --- a/hack/prepare-for-integration-tests.sh +++ b/hack/prepare-for-integration-tests.sh @@ -385,7 +385,7 @@ concierge_custom_labels="{myConciergeCustomLabelName: myConciergeCustomLabelValu log_level="debug" if [ "$alternate_deploy" != "undefined" ] || [ "$alternate_deploy_concierge" != "undefined" ] ; then - webhook_ca_bundle="(kubectl get secret local-user-authenticator-tls-serving-certificate --namespace local-user-authenticator -o 'jsonpath={.data.caCertificate}')" + webhook_ca_bundle="$(kubectl get secret local-user-authenticator-tls-serving-certificate --namespace local-user-authenticator -o 'jsonpath={.data.caCertificate}')" if [ "$alternate_deploy" != "undefined" ]; then log_note "The Pinniped Concierge will be deployed with $alternate_deploy pinniped-concierge $tag..." $alternate_deploy pinniped-concierge $tag