-
Notifications
You must be signed in to change notification settings - Fork 377
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
remove validation-webhook as it is deprecated #1186
Conversation
Hi @yati1998. 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-sigs/prow repository. |
The validation webhook would prevent creating multiple default volume snapshot classes (and multiple volume group snapshot classes) for the same CSI driver. In my opinion, this is a behavior change that we should appropriately describe in the documentation and the release notes. |
/ok-to-test Please fix your commit message. |
7eaada7
to
a893053
Compare
@@ -6,9 +6,6 @@ The volume snapshot feature supports CSI v1.0 and higher. It was introduced as a | |||
|
|||
The volume group snapshot feature supports CSI v1.10.0 and higher, and have been introduced in [Kubernetes 1.27 as an alpha feature](https://kubernetes.io/blog/2023/05/08/kubernetes-1-27-volume-group-snapshot-alpha/). | |||
|
|||
> :warning: **WARNING**: There is a new validating webhook server which provides tightened validation on snapshot objects. This SHOULD be installed by all users of this feature. More details [below](#validating-webhook). |
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.
Can you add a warning here:
The validation webhook was deprecated in v8.0.0 and it is now removed.
@leonardoce Can you suggest some wording for this change in the documentation and the release notes? |
@yati1998 can you please fix the commit message?
|
The following comment lines need to be updated because they are still referring to the webhook:
Are we still using these labels? external-snapshotter/pkg/utils/util.go Lines 153 to 158 in 9cb9f0f
At first glance, they seem to be used only by a few functions in the testing framework, and those functions appear to be not used anymore. |
is this related webhook? |
@yati1998 Can you open an issue for the invalid labels to be removed in a different PR? |
16cdd20
to
5c0cfe3
Compare
It looks fine; we still need the release notes block in the PR's body. |
This commit is the part of issue kubernetes-csi#1181 Signed-off-by: yati1998 <[email protected]>
@leonardoce @xing-yang can you please review the PR again? |
/lgtm |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: xing-yang, yati1998 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 |
removes validation webhook as it is being deprecated
fixes: #1181