-
Notifications
You must be signed in to change notification settings - Fork 545
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
--delete-access-point-root-dir parameter not working as expected #1077
Comments
So, as mentioned in the issue #411 i updated the " - --delete-access-point-root-dir=true" flag to the efs-plugin deployment Now, when i create an pvc, access point and pvc-content is created under efs data directory as expected. But when i delete the pvc, access point is not deleted, and pvc-content is under efs data directory is not getting deleted pv status is in released state, actually it should be deleted from cluster when i check the efs-csi-controller logs, found there is some error as below |
Hi @rshiva777 and @alexander-maksymiw-bl , thank you for bringing this to our attention. Yes, we need to re-add We will push out a new Helm chart release to fix this. And add an integration test to our E2E tests to cover the delete access point root dir option so this doesn't happen again. |
/close This has been fixed in the latest release. |
@RyanStan: You can't close an active issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/close |
@mskanth972: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/kind bug
What happened?
I have deployed aws-efs-csi-driver with " - --delete-access-point-root-dir=false" flag to the efs-plugin deployment. So when i create an pvc, access point and pvc-content is created under efs data directory as expected. But when i delete the pvc, access point gets deleted, but the pvc-content is under efs data directory is not getting deleted
What you expected to happen?
pvc-content under efs data directory should be deleted along with pvc and access point
How to reproduce it (as minimally and precisely as possible)?
Install aws-efs-csi-driver with " - --delete-access-point-root-dir=false" flag to the efs-plugin deployment
Anything else we need to know?:
Environment
kubectl version
): 1.25Please also attach debug logs to help us better diagnose
The text was updated successfully, but these errors were encountered: