Closed leonardoce closed 2 months ago
@leonardoce Can you please add a release note? The code change looks good to me.
Done @xing-yang. Thank you!
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leonardoce, xing-yang
The full list of commands accepted by this bot can be found here.
The pull request process is described here
This patch removes the logic to admit VolumeSnapshots, VolumeSnapshotContents, VolumeGroupSnapshots, and VolumeGroupSnapshotContents in the validation webhook.
That logic is already implemented via CEL expressions (see #1073)
The logic to admit VolumeSnapshotClasses and VolumeGroupSnapshotClasses is still implemented in the webhook and avoids having multiple default classes for the same CSI Driver.
What type of PR is this?
What this PR does / why we need it:
Removes the logic that is already implemented with CEL expressions from the validation webhook.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: