![]() When a volume is already mounted with an unexpected SELinux label, kubelet must unmount it first and then mount it back with the expected one. Report an error to user, just in case the unmount takes too long. In therory, this error should not happen too often, because two Pods with different SELinux label will not enter Desired State of World, see dsw.AddPodToVolume. It can happen when DSW and ASW SELinux labels only when a volume has been deleted from DSW (= Pod was deleted) or a volume was reconstructed after kubelet restart. In both cases, volume manager should unmount the volume quickly. |
||
---|---|---|
.. | ||
cache | ||
metrics | ||
populator | ||
reconciler | ||
OWNERS | ||
volume_manager_fake.go | ||
volume_manager_test.go | ||
volume_manager.go |