modified: README.md

This commit is contained in:
2025-12-21 00:47:01 +00:00
parent 6090701f7c
commit a7a53de245

View File

@@ -26,6 +26,7 @@ Kubernetes is an opensource platform that automates the deployment, scaling,
- [Manifest - StringData](#manifest---stringdata) - [Manifest - StringData](#manifest---stringdata)
- [Inline with heredoc and environment variables](#inline-with-heredoc-and-environment-variables) - [Inline with heredoc and environment variables](#inline-with-heredoc-and-environment-variables)
- [substr](#substr) - [substr](#substr)
- [get certificate end date](#get-certificate-end-date)
- [service accounts](#service-accounts) - [service accounts](#service-accounts)
- [core-dns](#core-dns) - [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 ## service accounts
**Get service account token:** **Get service account token:**