@@ -154,9 +154,7 @@ If you don't have a Google Cloud account you can sign up for a [free account](ht
154154Deployment is fully automated. In order
155155to deploy you need to run ** create.sh** . The script
156156takes the following parameters, in order:
157- * A name for your Cloud SQL instance
158- * A username for a new Postgres user that you will use to connect to the
159- instance with
157+ * A username for your Cloud SQL instance
160158* A username for the pgAdmin console
161159
162160The script requires the following environment variables to be defined:
@@ -165,7 +163,7 @@ The script requires the following environment variables to be defined:
165163
166164Here is what it looks like to run ** create.sh** :
167165
168- ``` USER_PASSWORD=password PG_ADMIN_CONSOLE_PASSWORD=password ./create.sh INSTANCE_NAME POSTGRES_USERNAME PGADMIN_USERNAME ```
166+ ``` USER_PASSWORD=< password> PG_ADMIN_CONSOLE_PASSWORD=< password> ./create.sh <DATABASE_USER_NAME> < PGADMIN_USERNAME> ```
169167
170168** create.sh** will run the following scripts:
1711691 . enable_apis.sh - enables the Kubernetes Engine API and Cloud SQL Admin API
@@ -182,10 +180,10 @@ containing credentials and connection string for the Cloud SQL instance
182180Once ** create.sh** is complete you need to run ``` make expose ``` to connect to
183181the running pgAdmin pod. ``` make expose ``` will port-forward to the running pod.
184182 You can [ connect to the port-forwarded pgAdmin in your
185- browser] ( http://127.0.0.1:8080/login ) . Use the pgAdmin username in the "Email
186- Address" field and password you defined earlier to login to the console.
187- From there you can click "Add New Server" and use the database username and
188- password you created earlier to connect to 127.0.0.1:5432.
183+ browser] ( http://127.0.0.1:8080/login ) . Use the ``` <PGADMIN_USERNAME> ``` in the "Email
184+ Address" field and ``` <PG_ADMIN_CONSOLE_PASSWORD> ``` you defined earlier to login to the console.
185+ From there you can click "Add New Server" and use the ``` <DATABASE_USER_NAME> ``` and
186+ ``` <USER_PASSWORD> ``` you created earlier to connect to 127.0.0.1:5432.
189187
190188## Validation
191189
0 commit comments