apiVersion: v1
kind: Pod
metadata:
  name: configmap-vol-pod
spec:
  containers:
    - name: configmap-container
      image: metamagic/podshelltomcat:9
      volumeMounts:
      - name: config-volume
        mountPath: /home/podadmin
  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
