读取 Kubernetes Secrets
目录
关于读取 Kubernetes Secret 的简短说明。
kubectl get secret mysecret -o yaml
echo "the-encoded-string" | base64 --decode
kubectl get secret nsp-k8s-certs-expiration -o jsonpath="{.data.k8s-certs-expiration.txt}" | base64 --decode