Skip to content

Commit 41998a8

Browse files
author
Jeff McCormick
committed
update docs with secrets and password information
1 parent 7fcddf1 commit 41998a8

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

docs/config.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ Values in the pgo configuration file have the following meaning:
5959
|CLUSTER.CCP_IMAGE_TAG |newly created containers will be based on this image version (e.g. centos7-9.6-1.4.0)
6060
|CLUSTER.PORT | the PostgreSQL port to use for new containers (e.g. 5432)
6161
|CLUSTER.PG_MASTER_USER | the PostgreSQL master user name
62-
|CLUSTER.PG_MASTER_PASSWORD | the PostgreSQL master user password
62+
|CLUSTER.PG_MASTER_PASSWORD | the PostgreSQL master user password, when specified, it will be stored in the secret holding the master user credentials, if not specified the value will be generated
6363
|CLUSTER.PG_USER | the PostgreSQL normal user name
64-
|CLUSTER.PG_PASSWORD | the PostgreSQL normal user password
65-
|CLUSTER.PG_ROOT_PASSWORD | the PostgreSQL *postgres* user password
64+
|CLUSTER.PG_PASSWORD | the PostgreSQL normal user password, when specified, it will be stored in the secret holding the normal user credentials, if not specified the value will be generated
65+
|CLUSTER.PG_ROOT_PASSWORD | the PostgreSQL *postgres* user password, when specified, it will be stored in the secret holding the root user credentials, if not specified the value will be generated
6666
|CLUSTER.FSGROUP | if set, will cause a *SecurityContext* and *fsGroup* attributes to be added to generated Pod and Deployment definitions
6767
|CLUSTER.SUPPLEMENTALGROUPS | if set, will cause a SecurityContext to be added to generated Pod and Deployment definitions
6868
|CLUSTER.STRATEGY | sets the deployment strategy to be used for deploying a cluster, currently there is only strategy *1*

docs/user-guide.asciidoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,3 +187,12 @@ pgo show pvc crunchy-pvc
187187

188188
In this example, the PVC is *crunchy-pvc*. This command is useful
189189
in some cases to examine what files are on a given PVC.
190+
191+
== Viewing Passwords
192+
193+
You can view the passwords used by the cluster as follows:
194+
....
195+
pgo show cluster mycluster --show-secrets=true
196+
....
197+
198+
Passwords are generated if not specified in your *pgo* configuration.

0 commit comments

Comments
 (0)