diff --git a/10-secrets/README.md b/10-secrets/README.md index 07da13e..0ca180f 100644 --- a/10-secrets/README.md +++ b/10-secrets/README.md @@ -48,7 +48,7 @@ spec: ``` You can look up the secrets in the pod by connecting to the pod: -``` +```sh $ kubectl exec -ti redis-with-volume-secrets /bin/bash root@redis-with-volume-secrets:/data# cd /etc/foo/ root@redis-with-volume-secrets:/etc/foo# ls @@ -83,7 +83,7 @@ spec: ``` You can look up the secrets in the pod by connecting to the pod: -``` +```sh $ kubectl exec -ti redis-with-env-secrets /bin/bash root@redis-with-env-secrets:/data# echo $SECRET_USERNAME admin