Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for the metrics with NotBefore timestamp #133

Open
Woytek-Polnik opened this issue Jun 15, 2023 · 1 comment
Open

Support for the metrics with NotBefore timestamp #133

Woytek-Polnik opened this issue Jun 15, 2023 · 1 comment

Comments

@Woytek-Polnik
Copy link

Could it be possible to add support to extra metrics which would say since when certficiate can be used
It should be fairly simple .NotBefore from https://pkg.go.dev/crypto/x509#pkg-variables

I've never touched go - and it would be super cool to have such metrics.

It would literally allow to compare NotBefore from k8s secret with the time when pod was started. And automatically restart pods when they were spawned before this cert (so cert was renewed)

@joe-elliott
Copy link
Owner

I would definitely merge this if someone has time to work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants