-
Bug
-
Resolution: Not a Bug
-
Major
-
Logging 6.1.0
The BearerToken field in the CRD ServiceMonitor is deprecated. Need to be replaced with Authorization[].Credentials field.
From OCP 4.16, the bearerTokenSecret field is deprecated and will generate an alert if used.
level=warn ts=2025-01-03T11:27:04.000721412Z caller=resource_selector.go:126 component=prometheus-controller msg="skipping servicemonitor" error="it accesses file system via tls config which Prometheus specification prohibits" servicemonitor=openshift-logging/collector namespace=openshift-user-workload-monitoring prometheus=user-workload
ServiceMonitor Specification: https://docs.openshift.com/container-platform/4.16/rest_api/monitoring_apis/servicemonitor-monitoring-coreos-com-v1.html#spec-endpoints-authorization
OpenShift 4.17.9
OpenShiftLogging 6.1.0
ClusterLogForwarder collector