• Kubernetes Submit Queue's avatar
    Merge pull request #61373 from msau42/subpath-reconstruct · d23066e8
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 61453, 61393, 61379, 61373, 61494). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Use inner volume name instead of outer volume name for subpath directory
    
    **What this PR does / why we need it**:
    Fixes volume reconstruction for PVCs with subpath
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #61372
    
    **Special notes for your reviewer**:
    
    
    **Release note**:
    
    ```release-note
    ACTION REQUIRED: In-place node upgrades to this release from versions 1.7.14, 1.8.9, and 1.9.4 are not supported if using subpath volumes with PVCs.  Such pods should be drained from the node first.
    ```
    d23066e8
Name
Last commit
Last update
..
cache Loading commit data...
populator Loading commit data...
reconciler Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
volume_manager.go Loading commit data...
volume_manager_test.go Loading commit data...