forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add e2e tests for admission webhooks MatchCondition fields (kubernete…
…s#118319) * Add e2e tests for admission webhooks MatchCondition fields Signed-off-by: Amine Hilaly <hilalyamine@gmail.com> * improve naming to distinguish tests * adding e2e for mutating webhooks and match conditions * Use `ginkgo.It` instead of `framework.ConformaceIt` and cleanup resrources after creation * Enable AdmissionWebhookMatchConditions feature * Tag only matchcondition tests * Improve expected error message for denied requests. * Rename `onlyAllowLeaseObjectMatchConditions` to `excludeLeasesMatchConditions` * remove [Alpha] tag from AdmissionWebhookMatchConditions tests * Using `gomega.Expect` instead of `framworkfail` * Remove [Feature:AdmissionWebhookMatchConditions] tag Signed-off-by: Amine <hilalyamine@gmail.com> * Improve e2e names to specify whether it's using Validating or Mutating admission webhooks --------- Signed-off-by: Amine Hilaly <hilalyamine@gmail.com> Signed-off-by: Amine <hilalyamine@gmail.com>
- Loading branch information
Showing
1 changed file
with
363 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters