diff --git a/helmls b/helmls new file mode 100755 index 0000000..d1a2860 --- /dev/null +++ b/helmls @@ -0,0 +1,13 @@ +#!/bin/bash +# +# helmls(1) is a utility to list releases across all namespaces tiller is deployed + +[[ -n $DEBUG ]] && set -x + +set -eou pipefail + +for ns in $(kubectl get deploy --all-namespaces -l app=helm,name=tiller -o=jsonpath="{.items[*].metadata.namespace}") +do + echo NAMESPACE: $ns + helm --tiller-namespace $ns ls +done