Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rbd: healer detect Kubernetes version for right StagingTargetPath (backport #3207) #3212

Merged
merged 2 commits into from
Jun 24, 2022

Commits on Jun 24, 2022

  1. rbd: healer detect Kubernetes version for right StagingTargetPath

    Kubernetes 1.24 and newer use a different path for staging the volume.
    That means the CSI-driver is requested to mount the volume at an other
    location, compared to previous versions of Kubernetes. CSI-drivers
    implementing the volumeHealer, must receive the correct path, otherwise
    the after a nodeplugin restart the NBD mounts will bailout attempting
    to NodeStageVolume() call and return an error.
    
    See-also: kubernetes/kubernetes#107065
    
    Fixes: #3176
    Signed-off-by: Prasanna Kumar Kalever <[email protected]>
    (cherry picked from commit 1da446d)
    Prasanna Kumar Kalever authored and mergify[bot] committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    a4465ca View commit details
    Browse the repository at this point in the history
  2. deploy: fix the staging path accordingly in the templates

    Signed-off-by: Prasanna Kumar Kalever <[email protected]>
    (cherry picked from commit d3650ae)
    Prasanna Kumar Kalever authored and mergify[bot] committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    1192e24 View commit details
    Browse the repository at this point in the history