<p>I tried to use configMap to mount some configs in a subdirectory. For example:</p>

<pre><code>spec.template.spec.containers.[0].volumeMounts:
  - name: fh16-volume
    mountPath: /etc/fh-16/application.log
    subPath: my-config.txt
spec.template.spec.volumes:
  - name: fh16-volume
    configMap:
      name: my-config
</code></pre>

<p>At this scenario, all mount as expected. But after any changes in configMap, this changes not applied in a container. Need to recreate pod for this.</p>

<p>It looks like some bug, but maybe I make some mistake in my configurations? In the case when I don't use subPath directive, all works as expected.</p>

<p>See this note in the <a href="https://kubernetes.io/docs/concepts/storage/volumes/#configmap" rel="nofollow noreferrer">Kubernetes docs</a>:</p>

<blockquote>
  <p>Note: A container using a ConfigMap as a subPath volume mount will not receive ConfigMap updates." </p>
</blockquote>
