pgo_create_policy

pgo create policy

Create a SQL policy

Synopsis

Create a policy. For example:

pgo create policy mypolicy --in-file=/tmp/mypolicy.sql
pgo create policy [flags]

Options

  -h, --help             help for policy
  -i, --in-file string   The policy file path to use for adding a policy.
  -u, --url string       The url to use for adding a policy.

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

  • pgo create - Create a Cluster, PGBouncer, PGPool, Policy, Schedule, or User
Auto generated by spf13/cobra on 3-Jun-2019