revamp find content logic to fix 290 291 292#294
revamp find content logic to fix 290 291 292#294k8s-ci-robot merged 1 commit intokubernetes-csi:masterfrom
Conversation
|
/assign @xing-yang |
|
Can you elaborate what is fixed in this PR in the release notes section as that will go to the changelog. |
Done. PTAL |
Should just be "Allow deletion of a VolumeSnapshot when ..." as VolumeSnapshotContent should not be deleted with a Retain policy. |
technically it should be both VolumeSnapshot and VolumeSnapshotContent? Without the fix, there is no way to delete VolumeSnapshot without remove finalizer on it manually. VolumeSnapshotContent deletion is not possible (kubectl delete vsc-name) without this fix as well. |
Technically it is correct but is sounds wrong because it is associated with Retain policy:). |
|
@yuxiangqian Just some nits. Please squash all commits after addressing comments. |
add snapshot source validation in syncSnapshot add content source validation in syncContent
|
addressed comments and squashed. thanks Xing |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: xing-yang, yuxiangqian The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
What this PR does / why we need it:
fixes issue 290 291 292
Which issue(s) this PR fixes:
Fixes #290 #291 #292
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE