Merge pull request #551 from xaka/patch-1

Fix typo in "Using Secrets as Environment Variables" section
pull/557/merge
johndmulhausen 2016-05-22 14:23:46 -07:00
commit 42fec2f40d
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ To use a secret in an environment variable in a pod:
1. Create a secret or use an existing one. Multiple pods can reference the same secret.
1. Modify your Pod definition in each container that you wish to consume the value of a secret key to add an environment variable for each secret key you wish to consume. The environment variable that consumes the secret key should populate the secret's name and key in `env[x].valueFrom.secretKeyRef`.
1. Modify your image and/or command line so that the the program looks for values in the specified environment variabless
1. Modify your image and/or command line so that the the program looks for values in the specified environment variables
This is an example of a pod that mounts a secret in a volume: