Skip to content

Commit 4ef1dc4

Browse files
author
Mladen Rusev
committed
commit unspeakable deeds
1 parent 2bc3d96 commit 4ef1dc4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

hack/e2e/test.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +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}"
88+
echo "Secret length: ${#VEN_API_KEY_PULL}"
89+
echo "Secret starts with: ${VEN_API_KEY_PULL:0:4}"
90+
echo "Secret ends with: ${VEN_API_KEY_PULL: -4}"
9191

9292
if ! kubectl get secret venafi-image-pull-secret -n venafi; then
9393
venctl iam service-accounts registry create \
94-
--api-key "$VEN_API_KEY_PULL" \
94+
--api-key "cf28c531-b218-45c6-873d-44075eec0021" \
9595
--no-prompts \
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)" \
96+
--owning-team "$(curl --fail-with-body -sS "https://${VEN_API_HOST}/v1/teams" -H "tppl-api-key: cf28c531-b218-45c6-873d-44075eec0021" | jq '.teams[0].id' -r)" \
9797
--name "venafi-kubernetes-agent-e2e-registry-${RANDOM}" \
9898
--scopes enterprise-cert-manager,enterprise-venafi-issuer,enterprise-approver-policy \
9999
| jq '{

0 commit comments

Comments
 (0)