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

disk: refined volume count detection #960

Merged
merged 3 commits into from
Jan 29, 2024

Commits on Jan 26, 2024

  1. disk: refined volume count detection

    Volume count detection now also works for static PV.
    We detect whether a disk is managed by us by reading k8s node resource, instead of disk tag.
    
    This makes OpenAPI access on node mandatory by default. We cannot startup if we cannot access OpenAPI.
    set DISK_ALLOW_ALL_TYPE env to skip this.
    
    Also makes KUBE_NODE_NAME env mandatory.
    huww98 committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    84e77aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    268dc98 View commit details
    Browse the repository at this point in the history
  3. support for more volumeName

    add a new disk tag csi.alibabacloud.com/volume-name
    only set diskName if we are sure it is vaild
    
    to comply with CSI spec and pass CSI-sanity test
    huww98 committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    cc1bf3d View commit details
    Browse the repository at this point in the history