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.
      --debug                    Enable debugging when true.
  -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

Auto generated by spf13/cobra on 4-Oct-2019