Skip to content
This repository has been archived by the owner on Feb 16, 2025. It is now read-only.

Commit

Permalink
fix: secret manager integration in gcloud beta (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
grayside authored Dec 15, 2021
1 parent 3abc7e2 commit 3eae9a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/configure_auth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ AUTH_SECRETS="${AUTH_SECRETS},CLIENT_SECRET=projects/${OPS_PROJECT_NUMBER}/secre
# using env vars, for things like custom domains and load balancers.
# See https://github.com/GoogleCloudPlatform/emblem/issues/277

gcloud run services update website \
gcloud beta run services update website \
--update-env-vars "REDIRECT_URI=${STAGE_CALLBACK_URL}" \
--update-secrets "${AUTH_SECRETS}" \
--project "$STAGE_PROJECT"
gcloud run services update website \
gcloud beta run services update website \
--update-env-vars "REDIRECT_URI=${PROD_CALLBACK_URL}" \
--update-secrets "${AUTH_SECRETS}" \
--project "$PROD_PROJECT"

0 comments on commit 3eae9a6

Please sign in to comment.