-
Notifications
You must be signed in to change notification settings - Fork 198
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
Hostpath driver fails to delete volumesnapshotcontent whose DeletionPolicy is patched to Delete
#178
Comments
cc @xing-yang |
@ashish-amarnath Can you test this using the latest code from external-snapshotter? This might be the same issue as reported here: kubernetes-csi/external-snapshotter#292. We are cutting release 2.1.1 soon with this fix so you can wait for that as well. |
Will give that a try. Thanks! |
@ashish-amarnath, 2.1.1 is released for external-snapshotter. |
This was a false alarm. |
@ashish-amarnath: 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. |
What happened:
A patched volumesnapshotcontent object does not get deleted.
These are the steps that I followed:
DeletionPolicy
Retain. This created the volumesnapshot and the volumesnapshotcontent object withDeletionPolicy: Retain
DeletionPolicy
wasRetain
the volumesnapshotcontent object is preserved.DeletionPolicy
toDelete
snapshot.storage.kubernetes.io/volumesnapshotcontent-bound-protection
doesn't remove itself and the deletion just sits at the terminal.What I expected:
I expected that the object to be deleted.
The text was updated successfully, but these errors were encountered: