Files
website/docs/tasks/inject-data-application/secret-envars-pod.yaml
T
Steve Perry 6935b1c6a9 Move topic to Injecting Data section. (#3623)
* Move topic to Injecting Data section.

* Update include paths.

* Remove old file.
2017-05-03 14:20:05 -07:00

20 lines
382 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: secret-envars-test-pod
spec:
containers:
- name: envars-test-container
image: nginx
env:
- name: SECRET_USERNAME
valueFrom:
secretKeyRef:
name: test-secret
key: username
- name: SECRET_PASSWORD
valueFrom:
secretKeyRef:
name: test-secret
key: password