pgo update
pgo update
Update a pgouser, pgorole, or cluster
Synopsis
The update command allows you to update a pgouser, pgorole, or cluster. For example:
pgo update cluster --selector=name=mycluster --disable-autofail
pgo update cluster --all --enable-autofail
pgo update namespace mynamespace
pgo update pgbouncer mycluster --rotate-password
pgo update pgorole somerole --pgorole-permission="Cat"
pgo update pgouser someuser --pgouser-password=somenewpassword
pgo update pgouser someuser --pgouser-roles="role1,role2"
pgo update pgouser someuser --pgouser-namespaces="pgouser2"
pgo update pgorole somerole --pgorole-permission="Cat"
pgo update user mycluster --username=testuser --selector=name=mycluster --password=somepassword
pgo update [flags]
Options
-h, --help help for update
Options inherited from parent commands
--apiserver-url string The URL for the PostgreSQL Operator apiserver that will process the request from the pgo client. Note that the URL should **not** end in a '/'.
--debug Enable additional output for debugging.
--disable-tls Disable TLS authentication to the Postgres Operator.
--exclude-os-trust Exclude CA certs from OS default trust store
-n, --namespace string The namespace to use for pgo requests.
--pgo-ca-cert string The CA Certificate file path for authenticating to the PostgreSQL Operator apiserver.
--pgo-client-cert string The Client Certificate file path for authenticating to the PostgreSQL Operator apiserver.
--pgo-client-key string The Client Key file path for authenticating to the PostgreSQL Operator apiserver.
SEE ALSO
- pgo - The pgo command line interface.
- pgo update cluster - Update a PostgreSQL cluster
- pgo update namespace - Update a namespace, applying Operator RBAC
- pgo update pgbouncer - Update a pgBouncer deployment for a PostgreSQL cluster
- pgo update pgorole - Update a pgorole
- pgo update pgouser - Update a pgouser
- pgo update user - Update a PostgreSQL user