Skip to content

Commit

Permalink
Remove debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
dargudear-google committed Jan 9, 2025
1 parent a7dd97d commit f1c8f76
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions test/scripts/run-e2e-gcp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ trap cleanup EXIT

main() {
echo "starting the secret store csi driver test for gcp provider"
# TODOs
# 1. Create a temporary secret in boskos pool once https://github.com/kubernetes/k8s.io/pull/7416 is submitted.
# 2. Rotate secrets created in above step
# 3. Clean up the secret.

#install boskosctl
if [[ -z "$(command -v boskosctl)" ]]; then
Expand All @@ -52,7 +48,7 @@ main() {
echo "testing boskosctl"
boskosctl --help

# Aquire a project from boskos pool, test will use secret created on this
# Aquire a project from boskos pool, test will use secret created on this aquired project
if [ -n "${BOSKOS_HOST:-}" ]; then
echo "Boskos acquire - ${BOSKOS_HOST}"
export BOSKOS_RESOURCE="$( boskosctlwrapper acquire --type gce-project --state free --target-state busy --timeout 1h )"
Expand All @@ -67,12 +63,6 @@ main() {
echo "Using project ${GCP_PROJECT}"
gcloud config set project ${GCP_PROJECT}

# TODO remove this after testing
gcloud projects get-iam-policy k8s-infra-e2e-boskos-001 \
--flatten="bindings[].members" \
--format='table(bindings.role)' \
--filter="bindings.members:[email protected]"

# create a secret in the aquired project
export SECRET_ID="test-secret-$(openssl rand -hex 4)"
export SECRET_VALUE="secret-a"
Expand Down

0 comments on commit f1c8f76

Please sign in to comment.