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 pgouser someuser --pgouser-password=somenewpassword
pgo update pgouser someuser --pgouser-roles="role1,role2"
pgo update pgouser someuser --pgouser-namespaces="pgouser2"
pgo update user mycluster --username=testuser --selector=name=mycluster --password=somepassword
pgo update pgorole somerole --pgorole-permission="Cat"
pgo update namespace mynamespace
pgo update cluster --selector=name=mycluster --autofail=false
pgo update cluster --all --autofail=true
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.
--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 pgorole - Update a pgorole
- pgo update pgouser - Update a pgouser
- pgo update user - Update a postgres user