Useful commands
Last updated
Last updated
kubectl get secret <pod_name> -o jsonpath={.data.mysql-root-password} | base64 -d
kubectl get secret <pod_name> -o template='{{index .data "mysql-root-password" | base64decode}}'
kubectl get secret snug-penguin-mysql -o json | jq '.data."mysql-root-password"' -r | base64 -d