gardener / gardener-extension-shoot-cert-service

Gardener extension controller for certificate services for shoot clusters.
https://gardener.cloud
Apache License 2.0
10 stars 35 forks source link

No alerting for certificates in error state #190

Closed MartinWeindel closed 1 year ago

MartinWeindel commented 1 year ago

How to categorize this PR?

/area monitoring /kind bug

What this PR does / why we need it: If a cluster contains misconfigured certificates, the metrics cert_management_cert_object_expire reports a value of 0 and the alerting is triggered as the certificate seems to have expired since about 19600 days.

To exclude such false alerts, the expression has been adapted.

Which issue(s) this PR fixes: Fixes #

Special notes for your reviewer:

Release note:

No alerting for certificates in error state
MartinWeindel commented 1 year ago

/invite @istvanballok @rickardsjp