-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Enable prevent-volume-mode-conversion by default following k8s 1.28 release #916
Enable prevent-volume-mode-conversion by default following k8s 1.28 release #916
Conversation
Welcome @akalenyu! |
Hi @akalenyu. Thanks for your PR. I'm waiting for a kubernetes-csi 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/test-infra repository. |
/ok-to-test |
/retest |
Can you change the type of PR from "cleanup" to "feature"? |
Suggest add the following in the release note:
|
/assign @RaunakShah |
/retest |
Please rebase to get around the Trivy error. |
README.md
Outdated
@@ -111,7 +111,7 @@ Read more about how to install the example webhook [here](deploy/kubernetes/webh | |||
|
|||
* `--kubeconfig <path>`: Path to Kubernetes client configuration that the webhook uses to connect to Kubernetes API server. When omitted, default token provided by Kubernetes will be used. This option is useful only when the snapshot controller does not run as a Kubernetes pod, e.g. for debugging. | |||
|
|||
* `--prevent-volume-mode-conversion`: Boolean that prevents an unauthorised user from modifying the volume mode when creating a PVC from an existing VolumeSnapshot. Only present as an alpha feature in `v6.0.0` and above. | |||
* `--prevent-volume-mode-conversion`: Boolean that prevents an unauthorised user from modifying the volume mode when creating a PVC from an existing VolumeSnapshot. Only present as an alpha feature in `v6.0.0` and above. Defaults to 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.
I suppose we should say it's a beta feature now?
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.
Changed the text. hopefully this is better 🙏
…elease This is beta since 1.27 so we can safely default to true, to get this new validation logic. https://github.com/kubernetes/enhancements/blob/master/keps/sig-storage/3141-prevent-volume-mode-conversion/kep.yaml#L30 Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
f7eb298
to
895dc73
Compare
Done, thanks! |
@xing-yang @RaunakShah Should we address backup vendors explicitly somehow? I imagine these will be the target audience to observe a behavioral change Also note I am right now keeping external-snapshotter/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml Lines 40 to 42 in 895dc73
|
/test pull-kubernetes-csi-external-snapshotter-1-26-on-kubernetes-1-26 |
I have brought this up several times in the Data Protection WG meeting. I'll make sure this release note shows up in both external-snapshotter and external-provisioner release area, and also send an email to the DP WG mailing list after the changes are in. |
/test pull-kubernetes-csi-external-snapshotter-1-26-on-kubernetes-1-26 |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akalenyu, 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 feature
What this PR does / why we need it:
This is beta since 1.27 so we can safely default to true, to get this new validation logic. https://github.com/kubernetes/enhancements/blob/master/keps/sig-storage/3141-prevent-volume-mode-conversion/kep.yaml#L30
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: