Skip to content

Instantly share code, notes, and snippets.

@duncangrist
duncangrist / helm-package.sh
Created April 7, 2021 10:42
Wraps "helm package" in order to be able to --set values at package time. Depends on yq and helm.
#!/usr/bin/env bash
scriptName=$(basename "$0")
USAGE="Wraps \"helm package\" in order to be able to --set values at package time.
Usage:
$scriptName \\
--set key1=value1 --set key2=value2 \\
[--app-version 1.2.3] <chart-path>"