Files
kubernetes/dev/postgres13/secret/get-password.sh
2025-11-23 18:58:51 +01:00

3 lines
210 B
Bash
Executable File

echo User : $(microk8s kubectl get secret postgres -o jsonpath="{.data.POSTGRES_USER}" | base64 -d)
echo Password: $(microk8s kubectl get secret postgres -o jsonpath="{.data.POSTGRES_PASSWORD}" | base64 -d)