-
Notifications
You must be signed in to change notification settings - Fork 371
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
add cmdline args to enable group snapshot webhooks #922
add cmdline args to enable group snapshot webhooks #922
Conversation
Hi @Rakshith-R. 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. |
I've tested this locally, the error mentioned in #921 is no longer seen in absence of volumegroup snapshot CRDs. |
/ok-to-test |
Can you also test if the CRDs are installed but the new RBAC's are not installed? See this comment: #921 (comment) |
With default configurations, the webhook is disabled and we don't get any errors. If cmdline arg to enable group snapshot webhook is set: The following error is seen.
I don't think the failures seen in the ci is related to this pr
rerunning the tests: /test pull-kubernetes-csi-external-snapshotter-1-27-on-kubernetes-1-27 /test pull-kubernetes-csi-external-snapshotter-1-28-on-kubernetes-1-28 |
Were you able to reproduce the problem seeing in #921 (comment) without your changes? |
/retest |
Please rebase to get around the Trivy error. |
VolumeGroupSnapshots are still in alpha. This commit adds cmdline args to enable group snapshot webhooks while keeping it disbaled by default. Signed-off-by: Rakshith R <[email protected]>
c161b0c
to
aafc456
Compare
First, without CRDs it fails to find CRDs, errors is similar to the one reported in #921 description I think the output from #921 (comment) is after the user installed only vgsclass CRDs. vgs and vgsc is still missing. After CRDs are installed, it should fail with RBAC issues. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Rakshith-R, 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 |
/cherry-pick release-6.3 |
@sunnylovestiramisu: new pull request created: #940 In response to this:
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. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
VolumeGroupSnapshots are still in alpha.
This commit adds cmdline args to enable group snapshot webhooks while keeping it disbaled by default.
Which issue(s) this PR fixes:
Fixes #921
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
yes,
/cc @xing-yang