From 889e932ad0f3b0eb1d33a69ca526644009c3c68d Mon Sep 17 00:00:00 2001 From: Andrew Bays Date: Tue, 7 Nov 2023 12:39:09 +0000 Subject: [PATCH] Collect Metal3 BareMetalHost CRs --- collection-scripts/gather_crs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/collection-scripts/gather_crs b/collection-scripts/gather_crs index 7e6d9fd..58e7fa8 100755 --- a/collection-scripts/gather_crs +++ b/collection-scripts/gather_crs @@ -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 | \