From 4e0a5c1259f8d3dd35f57ecee219eade8a2eec88 Mon Sep 17 00:00:00 2001 From: Drew Walters Date: Thu, 20 Feb 2020 12:44:26 -0600 Subject: [PATCH] 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 --- tools/gate/debug-report.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gate/debug-report.sh b/tools/gate/debug-report.sh index d277ec0f2..7d499fb6e 100755 --- a/tools/gate/debug-report.sh +++ b/tools/gate/debug-report.sh @@ -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