File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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+
8892if ! 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 ' {
You can’t perform that action at this time.
0 commit comments