Kubernetes configMap - only one file : <p>I have a <code>configMap</code> created from file:</p>

<pre><code>kubectl create configmap ssportal-apache-conf --from-file=ssportal.conf=ssportal.conf
</code></pre>

<p>and then I need to mount this file into the deployment:</p>

<pre><code>apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: ssportal
spec:
  replicas: 2
  template:
    metadata:
      labels:
        app: ssportal
    spec:
      containers:
        - name: ssportal
          image: eu.gcr.io/my-project/ssportal:0.0.0
          ports:
          - containerPort: 80
          volumeMounts:
            - name: apache2-config-volume
              mountPath: /etc/apache2/
      volumes:
        - name: apache2-config-volume
          configMap:
            name: ssportal-apache-conf
            items:
              - key: ssportal.conf
                path: sites-enabled/ssportal.conf
</code></pre>

<p>But this effectively removes the existing <code>/etc/apache2/</code> directory from the container and replaces it with one an only file <code>/etc/apache2/sites-enabled/ssportal.conf</code>.</p>

<p>Is it possible to overlay only one file over the existing config directory?</p>
