Move sample YAML files to the correct place (#12123)

This PR is also an attempt to fix #12117.

Closes: #12117
This commit is contained in:
Qiming
2019-01-09 09:16:10 +08:00
committed by GitHub
parent 771b789399
commit a4ddd33889
5 changed files with 13 additions and 20 deletions
@@ -0,0 +1,19 @@
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