Values
https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing
To see what options are configurable on a chart, use helm show values:
$ helm show values bitnami/wordpress
## Global Docker image parameters
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
## Current available global Docker image parameters: imageRegistry and imagePullSecrets
##
# global:
# imageRegistry: myRegistryName
# imagePullSecrets:
# - myRegistryKeySecretName
# storageClass: myStorageClass
## Bitnami WordPress image version
## ref: https://hub.docker.com/r/bitnami/wordpress/tags/
##
image:
registry: docker.io
repository: bitnami/wordpress
tag: 5.6.0-debian-10-r35
[..]
You can then override any of these settings in a YAML formatted file, and then pass that file during installation.
$ echo '{mariadb.auth.database: user0db, mariadb.auth.username: user0}' > values.yaml
$ helm install -f values.yaml bitnami/wordpress --generate-name
There are two ways to pass configuration data during install:
--values
(or-f
): Specify a YAML file with overrides. This can be specified multiple times and the rightmost file will take precedence--set
: Specify overrides on the command line.
If both are used, --set
values are merged into --values
with higher precedence. Overrides specified with --set
are persisted in a ConfigMap. Values that have been --set
can be viewed for a given release with helm get values <release-name>
. Values that have been --set
can be cleared by running helm upgrade
with --reset-values
specified.
Get values of release
|
|
Upgrade
An upgrade takes an existing release and upgrades it according to the information you provide. Because Kubernetes charts can be large and complex, Helm tries to perform the least invasive upgrade. It will only update things that have changed since the last release.
|
|
In the above case, the happy-panda release is upgraded with the same chart, but with a new YAML file:
|
|