ungleich-k8s/generic/pod-env-configmap.yaml
2021-06-19 17:44:01 +02:00

22 lines
375 B
YAML

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