solo-io / workshops

Apache License 2.0
127 stars 72 forks source link

Get started with Istio - ading "pc secret" commands #193

Open find-arka opened 1 year ago

find-arka commented 1 year ago
istioctl pc secret \
    -n istioinaction deploy/web-api -o json | \
    jq '[.dynamicActiveSecrets[] | select(.name == "default")][0].secret.tlsCertificate.certificateChain.inlineBytes' -r | \
    base64 -d | \
    openssl x509 -noout -text

Add pc secret commands to show the certificate