jx gitops upgrade
Upgrades the GitOps git repository with the latest configuration and versions the Version Stream Aliases: update
Usage
jx gitops upgrade
Synopsis
Upgrades the GitOps git repository with the latest configuration and versions the Version Stream
Options
--add-environment-pipelines skips the custom upgrade step for adding .lighthouse folder
-b, --batch-mode Runs in batch mode without prompting for user input
--bin string the 'kpt' binary name to use. If not specified this command will download the jx binary plugin into ~/.jx3/plugins/bin and use that
--commit-message string the git commit message used (default "chore: generated kubernetes resources from helm chart")
-c, --container-tool string the underlying container tool for kpt to use (default "docker")
--dir string the directory to recursively look for the *.yaml or *.yml files (default ".")
--git-commit if set then the template command will git commit the modified helmfile.yaml files
--helmfile string the helmfile to resolve. If not specified defaults to 'helmfile.yaml' in the dir
-h, --help help for upgrade
--ignore-yaml-error ignore kpt errors of the form: yaml: did not find expected node content
--log-level string Sets the logging level. If not specified defaults to $JX_LOG_LEVEL
--namespace string the default namespace if none is specified in the helmfile.yaml (default "jx")
-o, --owner string filter on the Kptfile repository owner (user/organisation) for which packages to update
-r, --repo string filter on the Kptfile repository name for which packages to update
-s, --strategy string the 'kpt' strategy to use. To see available strategies type 'kpt pkg update --help'. Typical values are: resource-merge, fast-forward, force-delete-replace (default "resource-merge")
-u, --url string filter on the Kptfile repository URL for which packages to update
--verbose Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace
-v, --version string the git version of the kpt package to upgrade to
--version-stream-dir string the directory for the version stream. Defaults to 'versionStream' in the current --dir
Source
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified January 22, 2024: chore: regenerated plugin docs (28099569bb)