gitops_add_cluster
gitops add cluster
Add a new cluster using a CAPI template
gitops add cluster [flags]
Examples
# Add a new cluster using a CAPI template
gitops add cluster --from-template <template-name> --set key=val
# View a CAPI template populated with parameter values
# without creating a pull request for it
gitops add cluster --from-template <template-name> --set key=val --dry-run
# Add a new cluster supplied with profiles versions and values files
gitops add cluster --from-template <template-name> \
--profile 'name=foo-profile,version=0.0.1' --profile 'name=bar-profile,values=bar-values.yaml
Options
--base string The base branch of the remote repository
--branch string The branch to create the pull request from
--commit-message string The commit message to use
--description string The description of the pull request
--dry-run View the populated template without creating a pull request
--from-template string Specify the CAPI template to create a cluster from
-h, --help help for cluster
--profile stringArray Set profiles values files on the command line (--profile 'name=foo-profile,version=0.0.1' --profile 'name=bar-profile,values=bar-values.yaml')
--set strings Set parameter values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
--set-credentials string The CAPI credentials to use
--title string The title of the pull request
--url string URL of remote repository to create the pull request
Options inherited from parent commands
-e, --endpoint string The Weave GitOps Enterprise HTTP API endpoint
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
--namespace string The namespace scope for this operation (default "flux-system")
-v, --verbose Enable verbose output
SEE ALSO
- gitops add - Add a new Weave GitOps resource