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

Add subject+expiry dates to certificates in kubernetes.io/tls secrets #3092

Open
tstenner opened this issue Jan 30, 2025 · 0 comments
Open

Comments

@tstenner
Copy link

Is your feature request related to a problem? Please describe.

TLS keys/certificates are opaque, but the central information (validity dates, subject) is often needed when troubleshooting connection issues.

A clear and concise description of what the problem is.

Describe the solution you'd like

Certificates in secrets of type kubernetes.io/tls should show the subjects and expiry dates in the overview.

Describe alternatives you've considered

Copying the entire secret, extracting the pem blocks and getting a summary with openssl/kse is possible, but not user friendly.

A plugin like kubectl get secret … -oyaml| yq -r .["tls.key"] | openssl x509 … could work, but go has all of these functions already in the stdlib.

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

1 participant