From c52e266e5405d7ba0fd94ca7594bbffe379ee895 Mon Sep 17 00:00:00 2001 From: Jaromir Wysoglad Date: Fri, 20 Dec 2024 05:36:17 -0500 Subject: [PATCH] Add observability.openshift.io to collected CRs This is required for telemetry logging since CLO version 6.x --- collection-scripts/gather_crs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collection-scripts/gather_crs b/collection-scripts/gather_crs index d6e56a9..fc8f35b 100755 --- a/collection-scripts/gather_crs +++ b/collection-scripts/gather_crs @@ -13,8 +13,8 @@ crs=() # Explictly adding rabbit in the grep because its CRD is named with a different domain. # Also adding monitoring.rhobs, because telemetry uses observability-operator # to deploy a `MonitoringStack` for storing and scraping metrics. -# Adding grafana.com and logging.openshift.io because of resources used by telemetry logging. -for i in $(/usr/bin/oc get crd | grep -E "(openstack|rabbitmq|monitoring|grafana|logging\.openshift)\.(org|com|rhobs|io)" | awk '{print $1}') +# Adding grafana.com, observability.openshift.io and logging.openshift.io because of resources used by telemetry logging. +for i in $(/usr/bin/oc get crd | grep -E "(openstack|rabbitmq|monitoring|grafana|observability\.openshift|logging\.openshift)\.(org|com|rhobs|io)" | awk '{print $1}') do crs+=("$i") done