Skip to content

Commit 2bc3d96

Browse files
author
Mladen Rusev
committed
add test prints
1 parent 67efd21 commit 2bc3d96

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

hack/e2e/test.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,15 @@ kubectl create ns venafi || true
8585
# Pull secret for Venafi OCI registry
8686
# IMPORTANT: we pick the first team as the owning team for the registry and
8787
# workload identity service account as it doesn't matter.
88+
echo $VEN_API_KEY_PULL
89+
echo "${VEN_API_KEY_PULL}"
90+
echo "${VEN_API_HOST}"
91+
8892
if ! kubectl get secret venafi-image-pull-secret -n venafi; then
8993
venctl iam service-accounts registry create \
90-
--api-key "${VEN_API_KEY_PULL}" \
94+
--api-key "$VEN_API_KEY_PULL" \
9195
--no-prompts \
92-
--owning-team "$(curl --fail-with-body -sS "https://${VEN_API_HOST}/v1/teams" -H "tppl-api-key: ${VEN_API_KEY_PULL}" | jq '.teams[0].id' -r)" \
96+
--owning-team "$(curl --fail-with-body -sS "https://${VEN_API_HOST}/v1/teams" -H "tppl-api-key: $VEN_API_KEY_PULL" | jq '.teams[0].id' -r)" \
9397
--name "venafi-kubernetes-agent-e2e-registry-${RANDOM}" \
9498
--scopes enterprise-cert-manager,enterprise-venafi-issuer,enterprise-approver-policy \
9599
| jq '{

0 commit comments

Comments
 (0)