Skip to content

Commit

Permalink
Added config map as volume mount
Browse files Browse the repository at this point in the history
  • Loading branch information
qtsathish committed Apr 11, 2021
1 parent ada7381 commit 2d9143e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions April21/configmap/configmappod2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: v1
kind: Pod
metadata:
name: configmap-vol-demo
spec:
containers:
- image: alpine
name: alpine-container
args:
- /bin/sh
- -c
- sleep 1d
volumeMounts:
- name: config-volume
mountPath: /etc/appconfig
volumes:
- name: config-volume
configMap:
name: appconfigmap

0 comments on commit 2d9143e

Please sign in to comment.