-
Notifications
You must be signed in to change notification settings - Fork 199
Remove FSS block-volume-snapshot #3408
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
base: master
Are you sure you want to change the base?
Remove FSS block-volume-snapshot #3408
Conversation
|
Hi @johnchobroadcom. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
2146eb6
to
784a24d
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: johnchobroadcom The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
784a24d
to
4a26d23
Compare
@xing-yang not sure who should be reviewing this PR. Can you help assign to the right person? Thanks. |
4a26d23
to
9c99693
Compare
please rerun the precheckin test as the link for earlier result is not accessible now, can you please also paste/attach unittest results |
@@ -556,7 +556,6 @@ data: | |||
"csi-sv-feature-states-replication": "true" | |||
"fake-attach": "true" | |||
"improved-csi-idempotency": "true" | |||
"block-volume-snapshot": "true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add same change, missed from manifests/supervisorcluster/1.31/cns-csi.yaml
@@ -683,7 +683,6 @@ data: | |||
"online-volume-extend": "true" | |||
"file-volume": "true" | |||
"csi-sv-feature-states-replication": "false" # Do not enable for guest cluster, Refer PR#2386 for details | |||
"block-volume-snapshot": "true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
query: why did we remove the fss from last n-2 yaml files only? do we want to remove from all earlier ones as well or do we not have any TKR release on older versions ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per @chethanv28 , n-2 is apparently the convention CSI team follows for manifest updates. I presume there isn't really a point in updating older versions as code changes would also have to be backported to release branches or tag. You guys shouldn't me asking me this question. :)
@@ -126,10 +126,6 @@ func (h *CSIGuestWebhook) Handle(ctx context.Context, req admission.Request) (re | |||
|
|||
resp = admission.Allowed("") | |||
if req.Kind.Kind == "PersistentVolumeClaim" { | |||
if featureGateBlockVolumeSnapshotEnabled { | |||
admissionResp := validatePVC(ctx, &req.AdmissionRequest) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should continue to validate PVC always with featureGateBlockVolumeSnapshotEnabled check removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should continue to validate PVC always with featureGateBlockVolumeSnapshotEnabled check removed
Good catch. Will fix.
@@ -1,204 +0,0 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of deleting entire unittests, we should modify it to cover remaining scenarios that do get exercised in pkg/syncer/admissionhandler/validatesnapshotoperation.go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't really sure how to tease apart the test to deal with feature flag going away. Do you want to take a shot at updating the test with this commit; I am probably not going to be able to sort this out without bugging ppl.
PR needs rebase. 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-sigs/prow repository. |
What this PR does / why we need it:
Removes obsolete FSS block-volume-snapshot
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Testing done:
1.unit tests
2.precheckin:https://jenkins-vcf-csifvt.devops.broadcom.net/view/instapp/job/wcp-instapp-e2e-pre-checkin/171/
Special notes for your reviewer:
Release note: