-
Notifications
You must be signed in to change notification settings - Fork 404
Deprecate VolumeGroupSnapshot v1beta1, address API review comments #1337
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
Deprecate VolumeGroupSnapshot v1beta1, address API review comments #1337
Conversation
|
Skipping CI for Draft Pull Request. |
e00864c to
742cf00
Compare
|
/assign @xing-yang |
Signed-off-by: Leonardo Cecchi <[email protected]>
742cf00 to
119cfa7
Compare
|
/assign @msau42 |
client/config/crd/groupsnapshot.storage.k8s.io_volumegroupsnapshotclasses.yaml
Outdated
Show resolved
Hide resolved
|
For VolumeGroupSnapshotRef in VolumeGroupSnapshotContentSpec, we can't make VolumeGroupSnapshotRef itself immutable because name and namespace are set by the admin and UID is set by the controller for static provisioning. |
Signed-off-by: Leonardo Cecchi <[email protected]>
Signed-off-by: Leonardo Cecchi <[email protected]>
I added a CEL rule for that. |
|
Do we have tests running for the groupsnapshot functionality? |
Yes, we added e2e test before moving group snapshot to v1beta1. |
|
@leonardoce can you add cel tests for changes you made in this PR? https://github.com/kubernetes-csi/external-snapshotter/tree/master/client/hack/cel-tests |
I added the test cases. Thanks! |
client/hack/cel-tests/volumegroupsnapshotcontent/vgsc-class-immutable.post.yaml
Show resolved
Hide resolved
Signed-off-by: Leonardo Cecchi <[email protected]>
facd397 to
0d9a187
Compare
|
/lgtm |
|
/lgtm |
|
[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
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Addresses API review comments in #1312
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: