Skip to main content
Version: 0.9.2

gitops_upgrade

gitops upgrade

Upgrade to Weave GitOps Enterprise

gitops upgrade [flags]

Examples

  # Upgrade Weave GitOps
gitops upgrade --version 0.0.17 --config-repo https://github.com/my-org/my-management-cluster.git

# Upgrade Weave GitOps and set the natsURL
gitops upgrade --version 0.0.17 --set "agentTemplate.natsURL=my-cluster.acme.org:4222" \
--config-repo https://github.com/my-org/my-management-cluster.git

Options

      --base string             The base branch to open the pull request against
--branch string The branch to create the pull request from (default "tier-upgrade-enterprise")
--commit-message string The commit message (default "Upgrade to WGE")
--config-repo string URL of external repository that will hold automation manifests
--dry-run Output the generated profile without creating a pull request
-h, --help help for upgrade
--path string The path within the Git repository containing files for the current cluster
--set stringArray set profile values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
--version string Version of Weave GitOps Enterprise to be installed

Options inherited from parent commands

  -e, --endpoint WEAVE_GITOPS_ENTERPRISE_API_URL   The Weave GitOps Enterprise HTTP API endpoint can be set with WEAVE_GITOPS_ENTERPRISE_API_URL environment variable
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
--kubeconfig string Paths to a kubeconfig. Only required if out-of-cluster.
--namespace string The namespace scope for this operation (default "flux-system")
-p, --password WEAVE_GITOPS_PASSWORD The Weave GitOps Enterprise password for authentication can be set with WEAVE_GITOPS_PASSWORD environment variable
-u, --username WEAVE_GITOPS_USERNAME The Weave GitOps Enterprise username for authentication can be set with WEAVE_GITOPS_USERNAME environment variable

SEE ALSO

Auto generated by spf13/cobra on 15-Aug-2022