Skip to content

Commit

Permalink
Collect Metal3 BareMetalHost CRs
Browse files Browse the repository at this point in the history
  • Loading branch information
abays committed Nov 7, 2023
1 parent b53251e commit 889e932
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions collection-scripts/gather_crs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ do
resources+=("$i")
done

# explicitly adding Metal3 BareMetalHosts
resources+=("baremetalhosts.metal3.io")

# we use nested loops to nicely output objects partitioned per namespace, kind
for resource in "${resources[@]}"; do
/usr/bin/oc get "${resource}" --all-namespaces -o custom-columns=NAME:.metadata.name,NAMESPACE:.metadata.namespace --no-headers 2> /dev/null | \
Expand Down

0 comments on commit 889e932

Please sign in to comment.