Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix breakage in GCP deployment guide #8441

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/resources/guides/deployment/gcp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ Then create a Cloud SQL instance and set the password.
.. code-block:: bash

$ gcloud sql instances create ${PROJECT}-postgres \
--database-version=POSTGRES_14 \
--database-version=POSTGRES_17 \
--edition=enterprise \
--cpu=1 \
--memory=3840MiB \
--region=us-west2 \
Expand Down Expand Up @@ -115,14 +116,15 @@ Then use this ``credentials.json`` to authenticate the Kubernetes CLI tool

.. code-block:: bash

$ gcloud components install gke-gcloud-auth-plugin
$ kubectl create secret generic cloudsql-instance-credentials \
--from-file=credentials.json=credentials.json

$ INSTANCE_CONNECTION_NAME=$(
gcloud sql instances describe ${PROJECT}-postgres \
--format="value(connectionName)" \
--project=$PROJECT
)
)

$ DSN="postgresql://postgres:${PASSWORD}@127.0.0.1:5432"
$ kubectl create secret generic cloudsql-db-credentials \
Expand Down