Update index.md

Fixes typo in "Using Secrets as Environment Variables" section
This commit is contained in:
Pavel Strashkin
2016-05-21 15:42:15 -07:00
parent 5baa39970b
commit 6dd070c5d9
+1 -1
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: