Update README.md
This commit is contained in:
parent
3fee166ee8
commit
7eaeb771d3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue