Skip to content

Karina db query

karina db query

Run SQL against a database

karina db query [flags]

Options

      --database string   Name of postgres database (default "postgres")
  -h, --help              help for query

Options inherited from parent commands

  -c, --config stringArray   Path to config file (default [karina.yml])
      --dry-run              Don't apply any changes, print what would have been done
  -e, --extra stringArray    Extra arguments to apply e.g. -e ldap.domain=example.com
      --in-cluster           Use in cluster kubernetes config
      --kubeconfig string    Specify a kubeconfig to use, if empty a new kubeconfig is generated from master CA's at runtime
  -v, --loglevel count       Increase logging level
      --name string          Name of the postgres cluster / service
      --namespace string      (default "postgres-operator")
      --prune                Delete previously enabled resources (default true)
      --secret string        Name of the secret that contains the postgres user credentials
      --skip-decrypt         Skip any phases requiring decryption
      --superuser string     Superuser user
      --trace                Print out generated specs and configs

SEE ALSO

Auto generated by spf13/cobra on 17-May-2022