Skip to content

Instantly share code, notes, and snippets.

@mleuthold
Last active August 19, 2019 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mleuthold/7f3952e95543053a7d2443a0de35d33e to your computer and use it in GitHub Desktop.
Save mleuthold/7f3952e95543053a7d2443a0de35d33e to your computer and use it in GitHub Desktop.
Install plugin Tillerless for Helm.
#!/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