Last active
August 19, 2019 14:21
-
-
Save mleuthold/7f3952e95543053a7d2443a0de35d33e to your computer and use it in GitHub Desktop.
Install plugin Tillerless for Helm.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -xe | |
export HELM_TILLER_SILENT=true | |
export HELM_TILLER_HISTORY_MAX=5 | |
NAMESPACE="${MY_KUBERNETES_NAMESPACE:-default}" | |
helm init --client-only | |
# install tillerless | |
if ! helm plugin list | grep "^tiller[[:space:]]"; | |
then | |
helm plugin install https://github.com/rimusz/helm-tiller | |
fi | |
helm plugin update tiller | |
# update repos, e.g. stable/ | |
helm tiller run "${NAMESPACE}" -- helm repo update | |
# show installed releases on Kubernetes cluster | |
helm tiller run "${NAMESPACE}" -- helm list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment