cri-o/vendor/k8s.io/kubernetes/hack/testdata/pod-with-api-env.yaml
Mrunal Patel 8e5b17cf13 Switch to github.com/golang/dep for vendoring
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-01-31 16:45:59 -08:00

25 lines
602 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: env-test-pod
spec:
containers:
- name: test-container
image: gcr.io/google_containers/busybox
command: [ "/bin/sh", "-c", "env" ]
env:
- name: TEST_CMD_1
valueFrom:
secretKeyRef:
name: test-secret
key: key-1
- name: TEST_CMD_2
valueFrom:
configMapKeyRef:
name: test-configmap
key: key-2
- name: TEST_CMD_3
valueFrom:
fieldRef:
fieldPath: metadata.name
restartPolicy: Never