Skip to content

Commit 94fb27e

Browse files
committed
fix e2e tests
1 parent a2a3ca8 commit 94fb27e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

run-e2e-tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ helm install cert-manager-webhook-ionos-cloud chart/cert-manager-webhook-ionos-c
7171
kubectl wait --timeout=30s --for=condition=Available=True deployment/cert-manager-webhook-ionos-cloud -n cert-manager
7272

7373
# create the secret
74-
kubectl create secret generic cert-manager-webhook-ionos-cloud --from-literal=auth-token="$(echo $IONOS_TOKEN)"
74+
kubectl create secret generic cert-manager-webhook-ionos-cloud --from-literal=auth-token="$(echo $IONOS_TOKEN)" -n cert-manager
7575

7676
#create the issuer
7777
kubectl apply -f .github/test-manifests/issuer.yaml
@@ -80,7 +80,7 @@ kubectl apply -f .github/test-manifests/issuer.yaml
8080
kubectl wait --timeout=10s --for=condition=Ready=True issuer/letsencrypt-ionos-e2e
8181

8282
# create the test zone
83-
PREFIX=$(date +%k%M%N)
83+
export PREFIX=$(date +%k%M%N)
8484
ZONE_ID=$(curl -v -H "Authorization: Bearer $IONOS_TOKEN" --json \
8585
"{\"properties\":{\"zoneName\":\"$PREFIX.$TEST_ZONE_NAME\",\"description\":\"used for e2e testing for cert-manager webhook\",\"enabled\":true}}" \
8686
https://dns.de-fra.ionos.com/zones | jq -r .id)

0 commit comments

Comments
 (0)