yunify / qingcloud-csi

Kubernetes volume plugin based on CSI specification which support block storage of qingcloud
Apache License 2.0
37 stars 22 forks source link

Check volume size before resizing #153

Closed wnxn closed 4 years ago

wnxn commented 4 years ago

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind api-change /kind bug /kind cleanup /kind design /kind documentation /kind failing-test /kind feature /kind flake

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #152

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

Ensure ControllerExpandVolume idempotent

Additional documentation e.g., usage docs, etc.:

If the volume size is lager than or equal to required capacity, the Plugin MUST reply 0 OK.
ks-ci-bot commented 4 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: wnxn

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/yunify/qingcloud-csi/blob/master/OWNERS)~~ [wnxn] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment