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

feat: add webhook clientConfig CABundle cert checker #117

Closed lianghao208 closed 2 years ago

lianghao208 commented 2 years ago

Add webhook clientConfig CABundle cert checker and update client-go version.

The reason I updated client-go version to 1.20 is that the apiVersion v1beta1.admissionregistration.k8s.io of mutatingwebhookconfiguration is too old in current client-go version, which is no longer supported in kubernetes 1.24.

And the test result:

image

115

lianghao208 commented 2 years ago

If this is the final feature you wanted to add let me know and I can release a new binary and helm chart.

@joe-elliott That will be great, thank you for the release.