kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch04/exercises/4.13.sh

6 lines
234 B
Bash
Raw Normal View History

cd /kiamol/ch04
kubectl apply -f todo-list/secrets/todo-db-secret-test.yaml
kubectl get secret todo-db-secret-test -o jsonpath='{.data.POSTGRES_PASSWORD}'
kubectl get secret todo-db-secret-test -o jsonpath='{.metadata.annotations}'