Hi everyone!
Just tried to update my charts and it failed due to the Prometheus Rule admission:
Error: UPGRADE FAILED: failed to create resource: admission webhook "prometheusrulevalidate.monitoring.coreos.com" denied the request: Rules are not valid
In more detail, extracting the generated yaml and application by hand yields:
`The "prometheusrules" is invalid:
- : 72:11: group "cloudnative-pg/timescaledb-cluster", rule 5, "CNPGClusterLogicalReplicationErrorsCritical": could not parse expression: 1:147: parse error: ranges only allowed for vector selectors
- : 87:11: group "cloudnative-pg/timescaledb-cluster", rule 6, "CNPGClusterLogicalReplicationErrors": could not parse expression: 1:147: parse error: ranges only allowed for vector selectors
- : 153:11: group "cloudnative-pg/timescaledb-cluster", rule 9, "CNPGClusterLogicalReplicationStoppedCritical": could not parse expression: 7:125: parse error: binary expression must contain only scalar and instant vector types
- : 176:11: group "cloudnative-pg/timescaledb-cluster", rule 10, "CNPGClusterLogicalReplicationStopped": could not parse expression: 7:125: parse error: binary expression must contain only scalar and instant vector types`
Prometheus v3.10 is running btw.
Hi everyone!
Just tried to update my charts and it failed due to the Prometheus Rule admission:
Error: UPGRADE FAILED: failed to create resource: admission webhook "prometheusrulevalidate.monitoring.coreos.com" denied the request: Rules are not validIn more detail, extracting the generated yaml and application by hand yields:
`The "prometheusrules" is invalid:
Prometheus v3.10 is running btw.