From 79dbb353027f4894afa28545ea50156dadfe0e54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 14 Apr 2022 09:49:56 +0200 Subject: [PATCH] ci: collect secrets and cms in the logs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The CI runs will now collect all the secrets and configmaps available. Signed-off-by: Sébastien Han --- tests/scripts/collect-logs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/collect-logs.sh b/tests/scripts/collect-logs.sh index 5cb8ee13b..ad814cdec 100755 --- a/tests/scripts/collect-logs.sh +++ b/tests/scripts/collect-logs.sh @@ -27,7 +27,7 @@ for NAMESPACE in "${NAMESPACES[@]}"; do mkdir "${NS_DIR}" # describe every one of the k8s resources in the namespace which rook commonly uses - for KIND in 'pod' 'deployment' 'job' 'daemonset'; do + for KIND in 'pod' 'deployment' 'job' 'daemonset' 'secret' 'cm'; do kubectl -n "$NAMESPACE" get "$KIND" -o wide > "${NS_DIR}"/"$KIND"-list.txt for resource in $(kubectl -n "$NAMESPACE" get "$KIND" -o jsonpath='{.items[*].metadata.name}'); do kubectl -n "$NAMESPACE" describe "$KIND" "$resource" > "${NS_DIR}"/"$KIND"-describe--"$resource".txt