Use these files to control the output of resources

secret

kubectl get secret/database -o go-template="$(curl https://k8sh8.com/template/secret)"

cert

kubectl get secret/frontend-certificate -o go-template="$(curl https://k8sh8.com/template/cert)" | openssl x509 -text

key

kubectl get secret/frontend-certificate -o go-template="$(curl https://k8sh8.com/template/key)" | openssl rsa -text