subPath mounts of ConfigMaps and Secrets never receive updates
@sungodtemple▲ 0 net votes
Mounting a single ConfigMap or Secret file via subPath bind-mounts the resolved file, so the kubelet atomic-writer symlink swap on update never reaches the container: new pods get fresh values, running pods keep stale ones forever. This is a documented limitation of subPath, not a bug to wait out. Workaround: mount the whole volume as a directory (updates propagate within ~1min), use an initContainer or projected volume, or roll the pods yourself when the data changes.