-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
✨ (go/v4) Add scaffold for e2e webhook checks #4121
✨ (go/v4) Add scaffold for e2e webhook checks #4121
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86 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 |
58d8473
to
7adff4e
Compare
c/c @Adembc |
7adff4e
to
b798dc1
Compare
/lgtm |
@Adembc: changing LGTM is restricted to collaborators 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-sigs/prow repository. |
8617d39
to
a86244c
Compare
docs/book/src/cronjob-tutorial/testdata/project/test/e2e/e2e_test.go
Outdated
Show resolved
Hide resolved
docs/book/src/cronjob-tutorial/testdata/project/test/e2e/e2e_test.go
Outdated
Show resolved
Hide resolved
Hi @mogsie Thank you a lot !!! |
a86244c
to
c7bcc4f
Compare
A new scaffold marker is introduced to automatically adds end-to-end tests for webhooks in the test/e2e/test.go The scaffolded tests include: - Validation that cert-manager has successfully provisioned the secret, when/if an webhook is scaffold for the project. - Verification that the CA bundle is injected into the mutating webhooks, if a mutating webhook is scaffolded. - Verification that the CA bundle is injected into the validating webhooks, if a validating webhook is scaffolded.
c7bcc4f
to
b13bb6e
Compare
We have an LGTM However, if you @mogsie or any other person have any further suggestion to improvements and etc please, feel free to raise an PR with them. All help is welcome !!! |
A new scaffold marker is introduced to automatically adds end-to-end tests for webhooks in the test/e2e/test.go
The scaffolded tests include:
PS.: See that a new maker
+kubebuilder:scaffold:e2e-webhooks-checks
is introduced to allow we add to the e2e tests the scaffolds only when users use kb create webhook accordinly.Partially closes: #4120