Skip to main content
Version: 0.8.0


gitops add profile

Add a profile to a cluster

gitops add profile [flags]


# Add a profile to a cluster
gitops add profile --name=podinfo --cluster=prod --version=1.0.0 --config-repo=ssh://


      --auto-merge              If set, 'gitops add profile' will merge automatically into the repository's branch
--base string The base branch of the remote repository
--branch string The branch to create the pull request from
--cluster string Name of the cluster to add the profile to
--commit-message string The commit message to use
--config-repo string URL of the external repository that contains the automation manifests
--description string The description of the pull request
-h, --help help for profile
--kubeconfig string Absolute path to the kubeconfig file (default "/home/runner/.kube/config")
--name string Name of the profile
--profiles-port string Port the Profiles API is running on (default "9001")
--title string The title of the pull request
--version string Version of the profile specified as semver (e.g.: 0.1.0) or as 'latest' (default "latest")

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


Auto generated by spf13/cobra on 29-Apr-2022