github.com/verrazzano/verrazzano@v1.7.1/tests/e2e/config/scripts/dump_pods.sh (about) 1 #!/bin/bash 2 # 3 # Copyright (c) 2021, Oracle and/or its affiliates. 4 # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 5 # 6 set -x 7 NAMESPACES=${1} 8 for ns in ${NAMESPACES[@]} 9 do 10 kubectl get pods -n ${ns} -o jsonpath='{range .items[*]}{.metadata.name}{" "}{..uid}{"\n"}{end}' 11 done