export NAME=name_certificate
export NAMESPACE =name_namespace
echo $(kubectl get secret $NAME -n $NAMESPACE -o jsonpath='{.data.tls\.crt}') | base64 -d | openssl x509 -text -noout
Kubernetes: проверить SSL-сертификат
Published inKubernetes
export NAME=name_certificate
export NAMESPACE =name_namespace
echo $(kubectl get secret $NAME -n $NAMESPACE -o jsonpath='{.data.tls\.crt}') | base64 -d | openssl x509 -text -noout
Be First to Comment