Skip to content

Commit

Permalink
Merge pull request #183 from red-hat-storage/sync_ds--main
Browse files Browse the repository at this point in the history
Syncing latest changes from main for odf-must-gather
  • Loading branch information
openshift-merge-bot[bot] authored Jul 30, 2024
2 parents 7f74c82 + ba0ad71 commit 4ad8cfa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions collection-scripts/gather_namespaced_resources
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ if [ -n "$(oc get storageclaim --no-headers -A | awk '{print $2}')" ]; then
fi

# Collect details of managedfusionoffering of all namespaces for managed services
echo "collecting dump of oc get managedfusionoffering all namespaces" | tee -a "${BASE_COLLECTION_PATH}/gather-debug.log"
dbglog "collecting dump of oc get managedfusionoffering all namespaces"
if [ -n "$(oc get managedfusionoffering --no-headers -A | awk '{print $1}')" ]; then
{ oc get managedfusionoffering --all-namespaces; } >>"${BASE_COLLECTION_PATH}/namespaces/all/get_managedfusionoffering_all_ns"
{ oc describe managedfusionoffering --all-namespaces; } >>"${BASE_COLLECTION_PATH}/namespaces/all/desc_managedfusionoffering_all_ns"
Expand All @@ -189,7 +189,7 @@ if [ -n "$(oc get reclaimspacejob --no-headers -A | awk '{print $1}')" ]; then
fi

dbglog "collecting dump of oc get reclaimspacecronjobs all namespaces"
if [ -n "$(oc get reclaimspacejob --no-headers -A | awk '{print $1}')" ]; then
if [ -n "$(oc get reclaimspacecronjobs --no-headers -A | awk '{print $1}')" ]; then
{ oc get reclaimspacecronjobs --all-namespaces; } >>"${BASE_COLLECTION_PATH}/namespaces/all/get_reclaimspacecronjobs_all_ns"
{ oc describe reclaimspacecronjobs --all-namespaces; } >>"${BASE_COLLECTION_PATH}/namespaces/all/desc_reclaimspacecronjobs_all_ns"
{ oc get reclaimspacecronjobs -oyaml --all-namespaces; } >>"${BASE_COLLECTION_PATH}/namespaces/all/get_yaml_reclaimspacecronjobs_all_ns"
Expand All @@ -202,7 +202,7 @@ if [ -n "$(oc get networkfence --no-headers -A | awk '{print $1}')" ]; then
{ oc get networkfence -oyaml --all-namespaces; } >>"${BASE_COLLECTION_PATH}/namespaces/all/get_yaml_networkfence_all_ns"
fi

echo "collecting network-attachment-definitions of oc get network-attachment-definitions all namespaces" | tee -a "${BASE_COLLECTION_PATH}/gather-debug.log"
dbglog "collecting network-attachment-definitions of oc get network-attachment-definitions all namespaces"
if [ -n "$(oc get network-attachment-definitions --no-headers -A | awk '{print $1}')" ]; then
{ oc get network-attachment-definitions -oyaml --all-namespaces; } >>"${BASE_COLLECTION_PATH}/namespaces/all/get_yaml_net_attach_def_all_ns"
{ oc describe network-attachment-definitions --all-namespaces; } >>"${BASE_COLLECTION_PATH}/namespaces/all/desc_net_attach_def_all_ns"
Expand Down

0 comments on commit 4ad8cfa

Please sign in to comment.