Last active
July 3, 2017 18:59
-
-
Save jefflaplante/198298ad107b8af4680c7e641503fa5f to your computer and use it in GitHub Desktop.
Getting Helm releases that can be safely removed
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
kubectl get cm -n kube-system -l "OWNER=TILLER, STATUS!=DEPLOYED, VERSION!=1" -o go-template='{{- range .items }}{{ printf "%-35s\t%-3s\t%-35s\n" .metadata.name .metadata.labels.VERSION .metadata.labels.NAME }}{{- end }}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment