Parli/certmanager-metrics

Update to newer resources provided by CertManager

Closed this issue · 0 comments

Generally, this should translate into using /apis/cert-manager.io/{version}/certificates instead of /apis/certmanager.k8s.io/{version}/certificates.

It appears that the updated Certificate resource now has status.notAfter which contains the expiration time: "notAfter":"2020-03-01T20:04:03Z", so this allows getting rid of the SSL parsing.