joe-elliott / cert-exporter

A Prometheus exporter that publishes cert expirations on disk and in Kubernetes secrets
Apache License 2.0
316 stars 87 forks source link

Renewed certificates persist in metrics #106

Closed rdavyd closed 1 year ago

rdavyd commented 2 years ago

For example if file on node /var/lib/kubelet/pki/kubelet.crt is renewed (deleted and recreated), cert-exporter maintains reference to old certificate in metrics: изображение Is it expected behavior?

joe-elliott commented 2 years ago

I believe this change was trying to address situations like that: https://github.com/joe-elliott/cert-exporter/pull/79

rdavyd commented 1 year ago

It appears, that I messed with container tag in helm and was using the old version regardless of chart version. Sorry for confusion.