pgo apply
pgo apply
Apply a policy
Synopsis
APPLY allows you to apply a Policy to a set of clusters. For example:
pgo apply mypolicy1 --selector=name=mycluster
pgo apply mypolicy1 --selector=someotherpolicy
pgo apply mypolicy1 --selector=someotherpolicy --dry-run
pgo apply [flags]
Options
      --dry-run           Shows the clusters that the label would be applied to, without labelling them.
  -h, --help              help for apply
  -s, --selector string   The selector to use for cluster filtering.
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.