Create pod-configmap-envFrom.yaml
This commit is contained in:
parent
580fc22cae
commit
a552d607e8
|
|
@ -0,0 +1,13 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: dapi-test-pod
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: test-container
|
||||||
|
image: registry.k8s.io/busybox
|
||||||
|
command: [ "/bin/sh", "-c", "env" ]
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: special-config
|
||||||
|
restartPolicy: Never
|
||||||
Loading…
Reference in New Issue