Skip to content

Commit 1d23f3e

Browse files
authored
Create podconfigmap.yml
1 parent 1b4e0eb commit 1d23f3e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
kind: Pod
2+
apiVersion: v1
3+
metadata:
4+
name: pod-configmap
5+
spec:
6+
containers:
7+
- image: nginx
8+
name: c1
9+
volumeMounts:
10+
- name: config-volume
11+
mountPath: /etc/config
12+
volumes:
13+
- name: config-volume
14+
configMap:
15+
name: dev-config1
16+
restartPolicy: Never

0 commit comments

Comments
 (0)