-
Notifications
You must be signed in to change notification settings - Fork 125
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: support pv/pvc metadata for subDir parameter #503
feat: support pv/pvc metadata for subDir parameter #503
Conversation
Pull Request Test Coverage Report for Build 2522565494
💛 - Coveralls |
61ddf05
to
45e7f52
Compare
678a877
to
b481a50
Compare
@andyzhangx does it require any csi provisioner side of changes to support this feature? Is this a feature that is currently supported by any driver? |
@jingxu97 csi-provisioner already supports this by setting I received such requirements from #502 |
@ayuzzz it's not merged, @jingxu97 could you approve? I think this is quite a useful feature. |
is there e2e tests to validate the behavior including creation/deletion? Could you also have an end to end example to show how this feature can be used? |
@jingxu97 Yes, such metadata is already added in e2e test ( And example are already added to |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyzhangx, jingxu97 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 |
@jingxu97 there is quite similar implementation on nfs driver, could you also approve? kubernetes-csi/csi-driver-nfs#353 thanks. |
@ayuzzz pls try master branch with |
What type of PR is this?
/kind feature
What this PR does / why we need it:
feat: support pv/pvc metadata in subDir parameter
subDir
parameter supports following pv/pvc metadata transform${pvc.metadata.name}
${pvc.metadata.namespace}
${pv.metadata.name}
Which issue(s) this PR fixes:
Fixes #502
Requirements:
Special notes for your reviewer:
Release note: