#! /bin/sh kubectl get $@ -o go-template='{{ index .data "tls.crt" | base64decode }}' | openssl x509 -text