Addressed comments by pwittrock.

This commit is contained in:
steveperry-53
2016-12-09 14:07:15 -08:00
parent 2fa89315eb
commit c8d67ab182
6 changed files with 77 additions and 7 deletions
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: secret-test-pod
spec:
containers:
- name: test-container
image: nginx
volumeMounts:
# name must match the volume name below
- name: secret-volume
mountPath: /etc/secret-volume
# The secret data is exposed to Containers in the Pod through a Volume.
volumes:
- name: secret-volume
secret:
secretName: test-secret