Skip to content

Commit

Permalink
Add observability.openshift.io to collected CRs
Browse files Browse the repository at this point in the history
This is required for telemetry logging since
CLO version 6.x
  • Loading branch information
vyzigold committed Dec 20, 2024
1 parent cd3d272 commit c52e266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions collection-scripts/gather_crs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c52e266

Please sign in to comment.