-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ServiceMonitor: Invalid Configuration #343
Comments
Thank you for raising the issue. Meanwhile, please try upgrade to version 0.1.3 to see whether this issue persists. |
I found this thread because I was fixing the same issue in another project on 4.16, it's caused by |
In the meantime, the cluster upgraded to version 0.1.3. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
still open, even with lightspeed 0.2.1 level=warn ts=2025-01-02T07:27:03.376846094Z caller=resource_selector.go:126 component=prometheus-controller msg="skipping servicemonitor" error="it accesses file system via bearer token file which Prometheus specification prohibits" servicemonitor=openshift-lightspeed/lightspeed-app-server-monitor namespace=openshift-user-workload-monitoring prometheus=user-workload |
/remove-lifecycle stale |
Happy new year! Thank you for reminding us of this issue! |
/remove-lifecycle rotten |
Hello @rbaumgar , in the cluster having this issue
Here is a related runbook on the alert |
Could you please share the content of the configmap |
cluster-monitoring-config
|
Thank you for the timely return. Adding the label As user-workload-monitoring is activated, the alert should come from the UMW Prometheus that uses different settings from the in-cluster one. To gather more details from this issue, could you check whether the |
controller yes
|
On my OpenShift 4.16 with OpenShift Lightspeed Operator 0.1.2
ServiceMonitor lightspeed-app-server-monitor was rejected due to invalid configuration: it accesses file system via bearer token file which Prometheus specification prohibits
ServiceMonitor lightspeed-operator-controller-manager-metrics-monitor was rejected due to invalid configuration: it accesses file system via tls config which Prometheus specification prohibits
The text was updated successfully, but these errors were encountered: