Skip to content

Commit c90b7fd

Browse files
author
Jeff McCormick
committed
update docs with ccp-image-tag flag
1 parent f62c450 commit c90b7fd

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

docs/config.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Values in the pgo configuration file have the following meaning:
5656
|CLUSTER.PVC_NAME |if set, the PVC to use for created databases, only makes sense when your file system is sharable
5757
|CLUSTER.PVC_SIZE |the size to use when creating new PVCs (e.g. 100M, 1Gi)
5858
|CLUSTER.PVC_ACCESS_MODE |the access mode for new PVCs (e.g. ReadWriteMany, ReadWriteOnce)
59-
|CLUSTER.CCP_IMAGE_TAG |newly created containers will be based on this image version (e.g. centos7-9.6-1.4.0)
59+
|CLUSTER.CCP_IMAGE_TAG |newly created containers will be based on this image version (e.g. centos7-9.6-1.4.0), unless you override it using the --ccp-image-tag command line flag
6060
|CLUSTER.PORT | the PostgreSQL port to use for new containers (e.g. 5432)
6161
|CLUSTER.PG_MASTER_USER | the PostgreSQL master user name
6262
|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

docs/user-guide.asciidoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,3 +202,20 @@ pgo show cluster mycluster --show-secrets=true
202202
....
203203

204204
Passwords are generated if not specified in your *pgo* configuration.
205+
206+
== Overriding CCP_IMAGE_TAG
207+
208+
New clusters typically pick up the container image version to use
209+
based on the *pgo* configuration file's CCP_IMAGE_TAG setting. You
210+
can override this value using the *--ccp-image-tag* command line
211+
flag:
212+
....
213+
pgo create cluster mycluster --ccp-image-tag=centos7-9.6-1.4.1
214+
....
215+
216+
Likewise, you can upgrade the cluster using a command line flag:
217+
....
218+
pgo upgrade mycluster --ccp-image-tag=centos7-9.6-1.4.1
219+
pgo upgrade mycluster --upgrade-type=major --ccp-image-tag=centos7-9.6-1.4.1
220+
....
221+

0 commit comments

Comments
 (0)