Update distribute-credentials-secure.md (#5169)
remove extra blank and format the command line
This commit is contained in:
@@ -101,11 +101,11 @@ Here is a configuration file you can use to create a Pod:
|
|||||||
`/etc/secret-volume`. In your shell, go to the directory where the secret data
|
`/etc/secret-volume`. In your shell, go to the directory where the secret data
|
||||||
is exposed:
|
is exposed:
|
||||||
|
|
||||||
root@secret-test-pod:/# cd /etc/secret-volume
|
root@secret-test-pod:/# cd /etc/secret-volume
|
||||||
|
|
||||||
1. In your shell, list the files in the `/etc/secret-volume` directory:
|
1. In your shell, list the files in the `/etc/secret-volume` directory:
|
||||||
|
|
||||||
root@secret-test-pod:/etc/secret-volume# ls
|
root@secret-test-pod:/etc/secret-volume# ls
|
||||||
|
|
||||||
The output shows two files, one for each piece of secret data:
|
The output shows two files, one for each piece of secret data:
|
||||||
|
|
||||||
@@ -113,7 +113,7 @@ is exposed:
|
|||||||
|
|
||||||
1. In your shell, display the contents of the `username` and `password` files:
|
1. In your shell, display the contents of the `username` and `password` files:
|
||||||
|
|
||||||
root@secret-test-pod:/etc/secret-volume# cat username; echo; cat password; echo
|
root@secret-test-pod:/etc/secret-volume# cat username; echo; cat password; echo
|
||||||
|
|
||||||
The output is your username and password:
|
The output is your username and password:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user