From 948bf63db6299baed9e06ce342db5d4e92e62217 Mon Sep 17 00:00:00 2001 From: Niraj Yadav Date: Tue, 7 Jan 2025 18:48:35 +0530 Subject: [PATCH] Include networkfence and networkfenceclasses in must-gather Signed-off-by: Niraj Yadav --- collection-scripts/gather_clusterscoped_resources | 6 ++++++ collection-scripts/gather_namespaced_resources | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/collection-scripts/gather_clusterscoped_resources b/collection-scripts/gather_clusterscoped_resources index c5ac440..0050900 100755 --- a/collection-scripts/gather_clusterscoped_resources +++ b/collection-scripts/gather_clusterscoped_resources @@ -24,6 +24,8 @@ commands_get+=("volumesnapshotcontent") commands_get+=("volumegroupsnapshotclass") commands_get+=("volumegroupsnapshotcontent") commands_get+=("storageclusterpeers") +commands_get+=("networkfences") +commands_get+=("networkfenceclasses") # collect yaml output of OC commands oc_yamls=() @@ -43,6 +45,8 @@ oc_yamls+=("volumesnapshotcontent") oc_yamls+=("volumegroupsnapshotclass") oc_yamls+=("volumegroupsnapshotcontent") oc_yamls+=("storageclusterpeers") +oc_yamls+=("networkfences") +oc_yamls+=("networkfenceclasses") # collect describe output of OC commands commands_desc=() @@ -62,6 +66,8 @@ commands_desc+=("volumesnapshotcontent") commands_desc+=("volumegroupsnapshotclass") commands_desc+=("volumegroupsnapshotcontent") commands_desc+=("storageclusterpeers") +commands_desc+=("networkfences") +commands_desc+=("networkfenceclasses") # collection path for OC commands mkdir -p "${BASE_COLLECTION_PATH}/cluster-scoped-resources/oc_output/" diff --git a/collection-scripts/gather_namespaced_resources b/collection-scripts/gather_namespaced_resources index 1fa1744..0578f60 100755 --- a/collection-scripts/gather_namespaced_resources +++ b/collection-scripts/gather_namespaced_resources @@ -88,7 +88,6 @@ oc_get_all+=("storageclaim") oc_get_all+=("managedfusionoffering") oc_get_all+=("reclaimspacejob") oc_get_all+=("reclaimspacecronjobs") -oc_get_all+=("networkfence") oc_get_all+=("network-attachment-definitions") oc_get_all+=("encryptionkeyrotationjob") oc_get_all+=("encryptionkeyrotationcronjob")