Skip to content

Commit

Permalink
Add helmls
Browse files Browse the repository at this point in the history
  • Loading branch information
so0k committed Dec 12, 2017
1 parent 856f6d7 commit 1109111
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions helmls
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1109111

Please sign in to comment.