ungleich-k8s/generic/pod-env-configmap.yaml

23 lines
375 B
YAML
Raw Normal View History

2021-06-19 15:44:01 +00:00
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