mirror of https://github.com/k3s-io/k3s
31a70b8598
This PR fixes the issue #75345. This fix modified the checking volume in actual state when validating whether volume can be removed from desired state or not. Only if volume status is already mounted in actual state, it can be removed from desired state. For the case of mounting fails always, it can still work because the check also validate whether pod still exist in pod manager. In case of mount fails, pod should be able to removed from pod manager so that volume can also be removed from desired state. |
||
---|---|---|
.. | ||
cache | ||
metrics | ||
populator | ||
reconciler | ||
BUILD | ||
OWNERS | ||
volume_manager.go | ||
volume_manager_fake.go | ||
volume_manager_test.go |