Skip to content

Commit

Permalink
Include networkfence and networkfenceclasses in must-gather
Browse files Browse the repository at this point in the history
Signed-off-by: Niraj Yadav <[email protected]>
  • Loading branch information
black-dragon74 committed Jan 7, 2025
1 parent 20a9243 commit 948bf63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions collection-scripts/gather_clusterscoped_resources
Original file line number Diff line number Diff line change
Expand Up @@ -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=()
Expand All @@ -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=()
Expand All @@ -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/"
Expand Down
1 change: 0 additions & 1 deletion collection-scripts/gather_namespaced_resources
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 948bf63

Please sign in to comment.