Last active
February 21, 2018 20:31
-
-
Save kevinjqiu/4ac27ac1ca00cbd4570d03b28b2b2f25 to your computer and use it in GitHub Desktop.
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
#! /bin/bash | |
tiller_namespaces=$(kubectl get pod -l name=tiller --all-namespaces -o jsonpath='{.items[*].metadata.namespace}') | |
for ns in $tiller_namespaces; do | |
helm ls --tiller-namespace $ns | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment