nctl add cluster
nctl add cluster
Add cluster
nctl add cluster [flags]
Options
--cluster-name string name of the cluster to onboard is required (not needed if onboarding token is provided)
-t, --git-token string token for the operator helm chart in private helm repo
--helm-repo string operator helm repository name (default "https://nirmata.github.io/kyverno-charts")
-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)
--kyverno-version string Kyverno version 1.11 (default "1.11")
-n, --namespace string operator namespace (default "nirmata-system")
--onboarding-token string the cluster onboarding token
--register-only only register cluster, don't install operator
--registry-name string name of the private registry (no need if images are not pushed to private registry)
--registry-password string password of the private registry (no need if images are not pushed to private registry)
--registry-username string user name of the private registry (no need if images are not pushed to private registry)
-r, --release string operator helm chart release name (default "kyverno-operator")
--token string Nirmata API Login Key (env NIRMATA_TOKEN)
--url string Nirmata server base URL (env NIRMATA_URL)
-f, --values-file string the cluster onboarding parameter YAML file
--yes bypass manual validation
Options inherited from parent commands
-v, --v Level log level for V logs
SEE ALSO
- nctl add - Add resources to NPM