Merge "airskiff: Remove --show-all from kubectl commands"

This commit is contained in:
Zuul 2020-03-20 18:14:15 +00:00 committed by Gerrit Code Review
commit 777905f6d5
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ function get_namespaces () {
function get_pods () { function get_pods () {
NAMESPACE=$1 NAMESPACE=$1
kubectl get pods -n "${NAMESPACE}" -o name --show-all | awk -F '/' '{ print $NF }' | xargs -L1 -P 1 -I {} echo "${NAMESPACE}" {} kubectl get pods -n "${NAMESPACE}" -o name | awk -F '/' '{ print $NF }' | xargs -L1 -P 1 -I {} echo "${NAMESPACE}" {}
} }
export -f get_pods export -f get_pods