Skip to content

Commit 3bc1f13

Browse files
stevsmitSteven Smith
andauthored
2417 updates (quay#1134)
Co-authored-by: Steven Smith <[email protected]>
1 parent 34762b7 commit 3bc1f13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/configuring-cert-based-auth-quay-cloudsql.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The following procedure demonstrates how to connect {productname} with an SQL da
2020
+
2121
[source,terminal]
2222
----
23-
$ psql "sslmode=verify-ca sslrootcert=<ssl_server_certificate_authority>.pem sslcert=<ssl_client_certificate>.pem sslkey=<ssl_client_key>.pem hostaddr=<34.29.130.58> port=<5432> user=<cloudsql_username> dbname=<cloudsql_database_name>"
23+
$ psql "sslmode=verify-ca sslrootcert=<ssl_server_certificate_authority>.pem sslcert=<ssl_client_certificate>.pem sslkey=<ssl_client_key>.pem hostaddr=<database_host> port=<5432> user=<cloudsql_username> dbname=<cloudsql_database_name>"
2424
----
2525

2626
. In your {productname} directory, create a new YAML file, for example, `quay-config-bundle.yaml`, by running the following command:
@@ -69,7 +69,7 @@ DB_URI: postgresql://<dbusername>:<dbpassword>@<database_host>:<port>/<database_
6969
<3> The `postgresql.crt` file contains the client certificate used to authenticate the connection to your CloudSQL database. This file is mounted in the `Quay` pod from the Kubernetes secret.
7070
<4> The `postgresql.key` file contains the private key associated with the client certificate. This file is mounted in the `Quay` pod from the Kubernetes secret.
7171
<5> Enables auto-rollback for connections.
72-
<6> The URI that accesses your CloudSQL database appended with your `root.crt`, `postgresql.crt`, and `postgresql.key` files. The SSL/TLS information included in `DB_URI` must match the information provided in `DB_CONNECTION_ARGS`. If you are using CloudSQL, you must include your database username and password in this variable.
72+
<6> The URI that accesses your CloudSQL database. Must be appended with the `sslmode` type, your `root.crt`, `postgresql.crt`, and `postgresql.key` files. The SSL/TLS information included in `DB_URI` must match the information provided in `DB_CONNECTION_ARGS`. If you are using CloudSQL, you must include your database username and password in this variable.
7373
7474
. Create the `configBundleSecret` resource by entering the following command:
7575
+

0 commit comments

Comments
 (0)