nctl register cluster

nctl register cluster

Register cluster from KubeConfig

nctl register cluster [flags]

Options

  -a, --autoinstall           option requires providing elevated permissions to Nirmata Policy Manager. (default true)
  -h, --help                  help for cluster
      --insecure              allow connection to an address with a self-signed or non-verifiable certificate (not recommended)
      --kube-context string   the kube context from configured kubeconfig. Default is the current or sole context
      --kubeconfig string     kubeconfig path (defaults to $HOME/.kube/kubeconfig)
  -k, --kyverno-exist         option to check Kyverno is already installed on this cluster.
  -n, --name string           cluster name
      --token string          Nirmata API Login Key (env NIRMATA_TOKEN)
  -t, --type string           kyverno config selector for the cluster
      --url string            Nirmata server base URL (env NIRMATA_URL)

Options inherited from parent commands

  -v, --v Level   log level for V logs

SEE ALSO