Ignore fake certificate for NGINXCertificateExpiry (#10694)
The fake certificate is only a fallback and it is okay-ish if it expires. Do not alert for its expiration. Co-authored-by: Leonardo Taccari <leonardo@faire.ai>
This commit is contained in:
parent
7764e00ab4
commit
aa3609046b
1 changed files with 1 additions and 1 deletions
|
@ -736,7 +736,7 @@ controller:
|
|||
# # (i.e. delete `{host!="_"}` so also the default SSL certificate is
|
||||
# # checked for expiration)
|
||||
# - alert: NGINXCertificateExpiry
|
||||
# expr: (avg(nginx_ingress_controller_ssl_expire_time_seconds) by (host) - time()) < 604800
|
||||
# expr: (avg(nginx_ingress_controller_ssl_expire_time_seconds{host!="_"}) by (host) - time()) < 604800
|
||||
# for: 1s
|
||||
# labels:
|
||||
# severity: critical
|
||||
|
|
Loading…
Reference in a new issue