<p>I have a pod with the following specs</p>
<pre><code>kind: Pod
metadata:
  name: busybox
  namespace: default
spec:
  containers:
  - image: busybox
    command:
      - sleep
      - &quot;3600&quot;
    imagePullPolicy: IfNotPresent
    name: busybox
    env:
      - name: WATCH_NAMESPACE
        valueFrom:
          configMapKeyRef:
            name: watch-namespace-config
            key: WATCH_NAMESPACE
  restartPolicy: Always
</code></pre>
<p>I also created a <code>ConfigMap</code></p>
<pre><code>kubectl create configmap watch-namespace-config \
        --from-literal=WATCH_NAMESPACE=dev
</code></pre>
<p>The pod looks for values in the watch-namespace-config configmap.<br />
When I manually change the configmap values, I want the pod to restart automatically to reflect this change. Checking if that is possible in any way.</p>

CSUNNY
<p>This is currently a feature in progress <a href="https://github.com/kubernetes/kubernetes/issues/22368" rel="nofollow noreferrer">https://github.com/kubernetes/kubernetes/issues/22368</a></p>
<p>For now, use Reloader - <a href="https://github.com/stakater/Reloader" rel="nofollow noreferrer">https://github.com/stakater/Reloader</a></p>
<p>It watches if some change happens in ConfigMap and/or Secret; then performs a rolling upgrade on relevant DeploymentConfig, Deployment, Daemonset, Statefulset and Rollout</p>
<p>How to use it - <a href="https://github.com/stakater/Reloader#how-to-use-reloader" rel="nofollow noreferrer">https://github.com/stakater/Reloader#how-to-use-reloader</a></p>
