From 928b34f0f105d7812bfa4034d336ae158cd68b9d Mon Sep 17 00:00:00 2001 From: Sabbir Ahmed Shameem <145862004+SAShameem@users.noreply.github.com> Date: Tue, 7 May 2024 20:18:48 +0600 Subject: [PATCH] Create pod-configmap-volume.yaml --- .../examples/pods/pod-configmap-volume.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 content/bn/examples/pods/pod-configmap-volume.yaml diff --git a/content/bn/examples/pods/pod-configmap-volume.yaml b/content/bn/examples/pods/pod-configmap-volume.yaml new file mode 100644 index 0000000000..4926a7e6cc --- /dev/null +++ b/content/bn/examples/pods/pod-configmap-volume.yaml @@ -0,0 +1,19 @@ +apiVersion: v1 +kind: Pod +metadata: + name: dapi-test-pod +spec: + containers: + - name: test-container + image: registry.k8s.io/busybox + command: [ "/bin/sh", "-c", "ls /etc/config/" ] + volumeMounts: + - name: config-volume + mountPath: /etc/config + volumes: + - name: config-volume + configMap: + # Provide the name of the ConfigMap containing the files you want + # to add to the container + name: special-config + restartPolicy: Never