Ignore fake certificate for NGINXCertificateExpiry

The fake certificate is only a fallback and it is okay-ish if it
expires.

Do not alert for its expiration.
This commit is contained in:
Leonardo Taccari 2023-10-11 17:33:00 +02:00 committed by k8s-infra-cherrypick-robot
parent 63af10b419
commit 77bcd57e6d

View file

@ -722,7 +722,7 @@ controller:
# description: bad ingress config - nginx config test failed # description: bad ingress config - nginx config test failed
# summary: uninstall the latest ingress changes to allow config reloads to resume # summary: uninstall the latest ingress changes to allow config reloads to resume
# - alert: NGINXCertificateExpiry # - 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 # for: 1s
# labels: # labels:
# severity: critical # severity: critical