joe-elliott / cert-exporter

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

Multiple namespaces for secrets\configMaps don't work. #124

Closed Krasttt closed 1 year ago

Krasttt commented 1 year ago

Multiple namespaces for secrets\configMaps don't work.

There is problem with secret\configMap slice, if we set two or more namespaces cert-exporter get cert just from last namespace from list. Another certs from other namespaces will be lost.

Changes:

joe-elliott commented 1 year ago

Nice catch!

Fixes #73