-
Notifications
You must be signed in to change notification settings - Fork 139
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
feat: Storage class support #61
feat: Storage class support #61
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyzhangx 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:
Approvers can indicate their approval by writing |
Pull Request Test Coverage Report for Build 165261697
💛 - Coveralls |
Do you really need to provide storageclass support for this? Couldn't you put these fields directly in the PV object? |
@msau42
|
@msau42 also, I think for nfs driver, it has same requirement, e.g. kubernetes-csi/csi-driver-nfs#30 |
IIUC, the use case for implementing a no-op CreateVolume is to support Helm charts that only know how to create PVCs, instead of manually creating the PV? |
yes, by providing storage class support, we can use this driver in helm chart or other deployments |
Ok, I would clarify that in the docs because that's not the usual expected behavior. |
@msau42 thanks, will do. |
I was thinking of actually having the CreateVolume mount the share to create the subdir, and then unmount it when done, but this would require the provisioner to run as privileged. I'm not a big fan of not being able to support DeleteVolume, but if there are folks asking for this, we can consider it as a stop-gap solution. |
Fix overriding of junit results
What type of PR is this?
/kind feature
What this PR does / why we need it:
feat: Storage class support
We could provide storage class support even it's static provisioning, and then this driver would pass storage parameters to
NodeStageVolume
refer to https://kubernetes-csi.github.io/docs/secrets-and-credentials-storage-class.html
Which issue(s) this PR fixes:
Fixes #60
Requirements:
Special notes for your reviewer:
Release note: