Repeatable configuration scheme for Helm Charts
Define a configuration scheme for your chart installation
helm config-scheme add my-scheme scheme-file
where scheme-file
can be :
/config-path/default/values.yaml
secrets:///config-path/default/secrets.yaml
git+https://github.com/jBouyoud/helm-config-scheme@p/config-path/values.yaml?ref=master
Run helm commands with a config-scheme
helm upgrade name . -f config-scheme://my-scheme
wich is equivalent to (if all scheme files exists)
helm upgrade name . -f /config-path/default/values.yaml -f secrets:///config-path/default/secrets.yaml -f git+https://github.com/jBouyoud/helm-config-scheme@p/config-path/values.yaml?ref=master
See: USAGE.md for more information
# Install a specific version (recommend)
helm plugin install https://github.com/jBouyoud/helm-config-scheme --version v3.3.0
# Install latest unstable version from main branch
helm plugin install https://github.com/jBouyoud/helm-config-scheme
Find the latest version here: https://github.com/jBouyoud/helm-config-scheme/releases
# Windows (inside cmd, needs to be verified)
curl -LsSf https://github.com/jBouyoud/helm-config-scheme/releases/latest/download/helm-config-scheme.tar.gz | tar -C "%APPDATA%\helm\plugins" -xzf-
# MacOS
curl -LsSf https://github.com/jBouyoud/helm-config-scheme/releases/latest/download/helm-config-scheme.tar.gz | tar -C "$HOME/Library/helm/plugins" -xzf-
# Linux
curl -LsSf https://github.com/jBouyoud/helm-config-scheme/releases/latest/download/helm-config-scheme.tar.gz | tar -C "$HOME/.local/share/helm/plugins" -xzf-
# Windows (inside cmd, needs to be verified)
curl -LsSf https://github.com/jBouyoud/helm-config-scheme/releases/download/v1.0.0/helm-secrets.tar.gz | tar -C "%APPDATA%\helm\plugins" -xzf-
# MacOS
curl -LsSf https://github.com/jBouyoud/helm-config-scheme/releases/download/v1.0.0/helm-secrets.tar.gz | tar -C "$HOME/Library/helm/plugins" -xzf-
# Linux
curl -LsSf https://github.com/jBouyoud/helm-config-scheme/releases/download/v1.0.0/helm-secrets.tar.gz | tar -C "$HOME/.local/share/helm/plugins" -xzf-
Helm 2 is not support. Please consider upgrading to Helm 3+.
scripts/run.sh
- Main helm-config-scheme plugin code for all helm-config-scheme plugin actions available inhelm config-scheme help
after plugin installscripts/lib
- Location of libraries functions used by multiple commandsscripts/commands
- Sub Commands ofhelm config-scheme
are defined here.tests
- Test scripts to check if all parts of the plugin work. Seetests/README.md
for more information.
© 2020 Julien Bouyoud (jBouyoud)
Licensed under the Apache License, Version 2.0