Skip to content

Commit

Permalink
fix(base-cluster/cert-manager): debounce certificate-expiration alert (
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrau authored Dec 20, 2023
1 parent e1271b6 commit 1e9777a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
summary: Certificate is expiring soon.
expr: |-
certmanager_certificate_expiration_timestamp_seconds and (certmanager_certificate_expiration_timestamp_seconds - time() <= (60 * 60 * 24 * 14))
for: 1s
for: 5m
labels:
severity: warning
- alert: CertificateExpiringSoon
Expand All @@ -31,7 +31,7 @@ spec:
summary: Certificate is expiring soon.
expr: |-
certmanager_certificate_expiration_timestamp_seconds and (certmanager_certificate_expiration_timestamp_seconds - time() <= (60 * 60 * 24 * 7))
for: 1s
for: 5m
labels:
severity: critical
{{- end }}

0 comments on commit 1e9777a

Please sign in to comment.