Bug Report
What did you do?
Upgrade to 1.5.2 -> 1.6.2.
Apply RC with for example:
monitoring:
endpoints:
- interval: 15s
path: /some-path/actuator/prometheus
port: management
After apply we see the following warning:
RC
saldochecker-uat
ServiceMonitor.monitoring.coreos.com "saldochecker-uat" is invalid: spec.endpoints[0].scheme: Unsupported value: "HTTPS": supported values: "http", "https"
The RC does not reconcile as the scheme of the ServiceMonitor only allows lower case value http/https.
What did you expect to see?
RC applied and reconciled with valid generated ServiceMonitor.
What did you see instead?
RC applied but not reconciled due to the scheme mismatch in ServiceMonitor.
Environment
OpenShift 4.20.24
Possible solution
Set correct scheme value (https instead of HTTPS) for the generated ServiceMonitor -> RC should then reconcile.
Bug Report
What did you do?
Upgrade to 1.5.2 -> 1.6.2.
Apply RC with for example:
After apply we see the following warning:
The RC does not reconcile as the scheme of the ServiceMonitor only allows lower case value http/https.
What did you expect to see?
RC applied and reconciled with valid generated ServiceMonitor.
What did you see instead?
RC applied but not reconciled due to the scheme mismatch in ServiceMonitor.
Environment
OpenShift 4.20.24
Possible solution
Set correct scheme value (
httpsinstead ofHTTPS) for the generated ServiceMonitor -> RC should then reconcile.