- Parse "directives" from a values file comments to make common release lifecycle operations easier.
- The values file's name is used as the release name (eg the release name for
nginx-ingress.yaml
isnginx-ingress
) - Directives appear at the top of the chart like:
# CHART_REPOSITORY=https://kubernetes-charts.storage.googleapis.com
# CHART_NAME=nginx-ingress
# CHART_VERSION=0.9.5
# RELEASE_NAMESPACE=kube-system
controller:
name: controller
image:
...
$ helm plugin install https://github.com/ceason/helm-release-helper
"Initialize" a new release by prepending chart location and version information to the content of helm inspect values
helm release-helper inspect [chartish] > new-release-name.yaml
where [chartish]
is a repository chart reference (eg stable/nginx-ingress
)
Perform a helm diff
between the specified file and its associated release
helm release-helper diff [release-values.yaml]
Perform a helm upgrade --install
on the specified release file
helm release-helper apply [release-values.yaml]