Skip to content

Commit

Permalink
Merge pull request #17 from abays/collect_bmhs
Browse files Browse the repository at this point in the history
Collect Metal3 BareMetalHost CRs
  • Loading branch information
fmount authored Nov 7, 2023
2 parents b53251e + 889e932 commit 0399fba
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 0399fba

Please sign in to comment.