diff --git a/acceptance/deploy.sh b/acceptance/deploy.sh index fbee5c9d..a1b6d6e7 100755 --- a/acceptance/deploy.sh +++ b/acceptance/deploy.sh @@ -6,6 +6,8 @@ tpe=${ACCEPTANCE_TEST_SECRET_TYPE} VALUES_FILE=${VALUES_FILE:-$(dirname $0)/values.yaml} +kubectl delete secret controller-manager || : + if [ "${tpe}" == "token" ]; then if ! kubectl get secret controller-manager -n actions-runner-system >/dev/null; then kubectl create secret generic controller-manager \