Browse Source

airskiff: Remove --show-all from kubectl commands

This change removes the --show-all flag from kubectl commands in the
debug report, as it's no longer supported. The data gathered without
this flag is sufficient for debugging.

Change-Id: Iac9515f99f5e4bc123500602094e70683dd73cb4
Signed-off-by: Drew Walters <andrew.walters@att.com>
changes/48/708948/2
Drew Walters 1 year ago
parent
commit
4e0a5c1259
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tools/gate/debug-report.sh

+ 1
- 1
tools/gate/debug-report.sh View File

@ -23,7 +23,7 @@ function get_namespaces () {
function get_pods () {
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


Loading…
Cancel
Save