Create pod-configmap-envFrom.yaml

This commit is contained in:
Sabbir Ahmed Shameem 2024-05-07 20:17:35 +06:00 committed by GitHub
parent 580fc22cae
commit a552d607e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 0 deletions

View File

@ -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