mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-25 04:44:38 +00:00
This fixes race conditions in configmap, secret, downwardapi & git_repo volume plugins. wrappedVolumeSpec vars used by volume mounters and unmounters contained a pointer to api.Volume structs which were being patched by NewWrapperMounter/NewWrapperUnmounter, causing race condition during volume mounts.