From a7a53de2459c432796eb3bedcc685c7a02d42876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sun, 21 Dec 2025 00:47:01 +0000 Subject: [PATCH] modified: README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 54d3a63..9a790d4 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ Kubernetes is an open‑source platform that automates the deployment, scaling, - [Manifest - StringData](#manifest---stringdata) - [Inline with heredoc and environment variables](#inline-with-heredoc-and-environment-variables) - [substr](#substr) + - [get certificate end date](#get-certificate-end-date) - [service accounts](#service-accounts) - [core-dns](#core-dns) @@ -356,6 +357,12 @@ envsubst < ./secret.yaml | kubectl apply -f - ``` +### get certificate end date + +``` bash +kubectl get secret certificate-name-tls -o "jsonpath={.data['tls\.crt']}" | base64 --decode | openssl x509 -enddate -noout +``` + ## service accounts **Get service account token:**