Skip to content

Instantly share code, notes, and snippets.

@kevinjqiu
Last active February 21, 2018 20:31
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 kevinjqiu/4ac27ac1ca00cbd4570d03b28b2b2f25 to your computer and use it in GitHub Desktop.
Save kevinjqiu/4ac27ac1ca00cbd4570d03b28b2b2f25 to your computer and use it in GitHub Desktop.
#! /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