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

CSI: enforce single access mode at validation time #12337

Merged
merged 1 commit into from
Mar 23, 2022

Commits on Mar 22, 2022

  1. CSI: enforce single access mode at validation time

    A volume that has single-use access mode is feasibility checked during
    scheduling to ensure that only a single reader or writer claim
    exists. However, because feasibility checking is done one alloc at a
    time before the plan is written, a job that's misconfigured to have
    count > 1 that mounts one of these volumes will pass feasibility
    checking.
    
    Enforce the check at validation time instead to prevent us from even
    trying to evaluation a job that's misconfigured this way.
    tgross committed Mar 22, 2022
    Configuration menu
    Copy the full SHA
    548e8d2 View commit details
    Browse the repository at this point in the history