cub helm upgrade
cub helm upgrade
Render a Helm chart's templates and update ConfigHub units
Synopsis
Render a Helm chart's templates and update existing ConfigHub units.
This command loads a chart (e.g.,
The upgrade process:
- Renders the new chart version
- Checks if
unit exists - If it exists, updates the unit with the new resources
- Optionally updates CRDs unit if --update-crds flag is set
Examples:
# Upgrade nginx chart
cub helm upgrade --namespace nginx my-nginx bitnami/nginx --version 15.6.0 --set image.tag=latest
# Upgrade cert-manager chart with CRDs update
cub helm upgrade --namespace cert-manager \
--update-crds \
cert-manager \
jetstack/cert-manager \
--version v1.17.2
cub helm upgrade <release-name> <repo>/<chartname> [flags]
Options
-h, --help help for upgrade
--namespace string namespace to install the release into (only used for metadata if not actually installing) (default "default")
--quiet No default output.
--repo string specify the chart repository URL where to locate the requested chart
--set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
--skip-crds if set, no CRDs from the chart's crds/ directory will be installed (does not affect templated CRDs). Mirrors 'helm upgrade --skip-crds'
--timeout string completion timeout as a duration with units, such as 10s or 2m (default "10m0s")
--update-crds update CRDs unit if it exists
--use-placeholder use confighubplaceholder placeholder
-f, --values stringArray specify values in a YAML file or a URL (can specify multiple)
--version string specify a version constraint for the chart version to use. This constraint can be a specific tag (e.g. 1.1.1) or range (e.g. ^2.0.0)
--wait wait for completion (default true)
Options inherited from parent commands
--context string The context to use for this command
--debug Debug output
--space string space ID to perform command on
SEE ALSO
- cub helm - Helm commands