PrometheusOperatorRejectedResources alert firing with the Cert Utils Operator

Solution Verified - Updated -

Issue

  • PrometheusOperatorRejectedResources alert firing with the Cert Utils Operator
  • Many of the following errors can be seen in the logs of the prometheus-operator Pod in the openshift-user-workload-monitoring Namespace
$ oc -n openshift-user-workload-monitoring logs prometheus-operator-xxxxxxxxxx-xxxxx -c prometheus-operator | tail -1
2024-08-30T00:11:22.334455667Z level=warn ts=2024-08-30T00:11:22.334466778Z caller=resource_selector.go:174 component=prometheusoperator msg="skipping servicemonitor" error="it accesses file system via bearer token file which Prometheus specification prohibits" servicemonitor=cert-utils-operator/cert-utils-operator-controller-manager-metrics-monitor namespace=openshift-user-workload-monitoring prometheus=user-workload

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Cert Utils Operator

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content