Proper pod/configmapenv definition
This commit is contained in:
parent
aef990b851
commit
91738cad43
1 changed files with 22 additions and 0 deletions
22
generic/pod-env-configmap.yaml
Normal file
22
generic/pod-env-configmap.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: busybox-sleep-configmap
|
||||
spec:
|
||||
containers:
|
||||
- name: busybox
|
||||
image: busybox
|
||||
args:
|
||||
- sleep
|
||||
- "1000000"
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: busybox-sleep-configmap
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: busybox-sleep-configmap
|
||||
data:
|
||||
DOMAIN: k8s.ungleich.ch
|
||||
EMAIL: someone@example.org
|
Loading…
Reference in a new issue