Skip to main content
Version: 0.4.1


gitops add app#

Add a workload repository to a gitops cluster


Associates an additional application in a git repository with a gitops cluster so that its contents may be managed via GitOps

gitops add app [--name <name>] [--url <url>] [--branch <branch>] [--path <path within repository>] <repository directory> [flags]


  # Add application to gitops control from local git repository  gitops add app .
  # Add podinfo application to gitops control from github repository  gitops add app --url


      --app-config-url string                  URL of external repository (if any) which will hold automation manifests; NONE to store only in the cluster      --auto-merge                             If set, 'gitops add app' will merge automatically into the set --branch      --branch string                          Branch to watch within git repository      --chart string                           Specify chart for helm source      --deployment-type string                 Deployment type [kustomize, helm] (default "kustomize")      --dry-run                                If set, 'gitops add app' will not make any changes to the system; it will just display the actions that would have been taken      --helm-release-target-namespace string   Namespace in which to deploy a helm chart; defaults to the gitops installation namespace  -h, --help                                   help for app      --name string                            Name of application      --path string                            Path of files within git repository (default "./")      --url string                             URL of remote repository

Options inherited from parent commands#

  -e, --endpoint string    The Weave GitOps Enterprise HTTP API endpoint      --namespace string   Weave GitOps runtime namespace (default "wego-system")  -v, --verbose            Enable verbose output


Auto generated by spf13/cobra on 3-Nov-2021#