enix / x509-certificate-exporter

A Prometheus exporter to monitor x509 certificates expiration in Kubernetes clusters or standalone
MIT License
631 stars 64 forks source link

fix: shrinkSecret to actually shrink #301

Closed dpiddock closed 2 months ago

dpiddock commented 3 months ago

Currently shrinkSecret is only spending CPU cycles and returning the input object unchanged. Fix to return the shrunk object

May help a little with memory usage

npdgm commented 2 months ago

Wow good catch! Thanks a lot for your contribution @dpiddock :smiley: Cheers

monkeynator commented 2 weeks ago

:tada: This PR is included in version 3.15.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: