Open rbaumgar opened 3 weeks ago
Thank you for raising the issue. Could you please share the OLSConfig CR that produces this problem? I cannot reproduce the problem with Openshift 4.16.
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 .spec.endpoints[] bearerTokenFile
being deprecated in 4.16, however it should give a warning for now and not block installation, maybe there is something forcing fails on deprecations on OP's cluster.
In the meantime, the cluster upgraded to version 0.1.3. Alert didn't go away. And yes, it is not blocking, it is found by an alert, PrometheusOperatorRejectedResources
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