1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-05 23:46:56 +00:00
kyverno/test/conformance/chainsaw/webhooks
Anushka Mittal cfc9683033
Changes to dynamically configure webhooks (#8437)
* Changes to dynamically configure webhooks

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Add unit tests

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Add kuttl tests

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Refactoring

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Correct unit test

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Change way of webhooks configured

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Correct tests with new changes

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Add delete operation by default

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Correct tests with new changes

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Correct order for operations

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Add corrections

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Add mutatingwebhookconfiguration test

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Correct unit test

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Added policy.yaml in mutate webhook test

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Add corrections in kuttl test and code

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Change name of test

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Changes to update webhooks manifest

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Add corrections for dynamic-op-mutate kuttl test

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Add minor changes; remove unnecessary file

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Correct adding operations for MutatingWebhookConf

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* dynamic op mutate and validate added

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Resolve conflicts

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Filter rules for mutatingwebhookconf correctly

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* replace TestStep with Test in chainsaw tests

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* converted to new chainsaw-test format

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* minor corrections

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* remove isMutationEmpty()

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* initial changes for dynamic opn enhancements

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* rename variables

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* resolve lint errors

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* refactor code

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* add changes for exclude operations

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* add conformance tests

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* add unit tests

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* corrections in conformance tests

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* modification in unit tests

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* correction in conformance tests

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* Update .vscode/launch.json

Signed-off-by: shuting <shuting@nirmata.com>

* update variable usage

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

* remove testresults

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>

---------

Signed-off-by: anushkamittal2001 <anushka@nirmata.com>
Signed-off-by: shuting <shuting@nirmata.com>
Co-authored-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Co-authored-by: shuting <shutting06@gmail.com>
2024-01-31 15:46:53 +00:00
..
all-scale chore: convert chainsaw tests to Test resource (#9109) 2023-12-07 14:08:04 +00:00
clusterpolicy feat: configure webhook scope based on resource and policy type (#8065) 2024-01-26 15:07:42 +00:00
double-wildcard chore: convert chainsaw tests to Test resource (#9109) 2023-12-07 14:08:04 +00:00
dyn-op-mutate Changes to dynamically configure webhooks (#8437) 2024-01-31 15:46:53 +00:00
dyn-op-mutate-multiple Changes to dynamically configure webhooks (#8437) 2024-01-31 15:46:53 +00:00
dyn-op-validate Changes to dynamically configure webhooks (#8437) 2024-01-31 15:46:53 +00:00
dyn-op-validate-and-mutate Changes to dynamically configure webhooks (#8437) 2024-01-31 15:46:53 +00:00
dyn-op-validate-multiple Changes to dynamically configure webhooks (#8437) 2024-01-31 15:46:53 +00:00
expected-webhooks chore: convert chainsaw tests to Test resource (#9109) 2023-12-07 14:08:04 +00:00
only-pod feat: configure webhook scope based on resource and policy type (#8065) 2024-01-26 15:07:42 +00:00
pod-all-subresources feat: configure webhook scope based on resource and policy type (#8065) 2024-01-26 15:07:42 +00:00
policy feat: configure webhook scope based on resource and policy type (#8065) 2024-01-26 15:07:42 +00:00
policy-clusterpolicy-different-resource-group feat: configure webhook scope based on resource and policy type (#8065) 2024-01-26 15:07:42 +00:00
policy-clusterpolicy-namespaced-clusterscoped-resources feat: configure webhook scope based on resource and policy type (#8065) 2024-01-26 15:07:42 +00:00
policy-clusterpolicy-namespaced-resources feat: configure webhook scope based on resource and policy type (#8065) 2024-01-26 15:07:42 +00:00
policy-clusterpolicy-same-resource feat: configure webhook scope based on resource and policy type (#8065) 2024-01-26 15:07:42 +00:00
policy-clusterpolicy-wildcard-resource feat: configure webhook scope based on resource and policy type (#8065) 2024-01-26 15:07:42 +00:00
policy-clusterscope-resource feat: configure webhook scope based on resource and policy type (#8065) 2024-01-26 15:07:42 +00:00
policy-different-resource-group feat: configure webhook scope based on resource and policy type (#8065) 2024-01-26 15:07:42 +00:00
policy-wildcard-resource feat: configure webhook scope based on resource and policy type (#8065) 2024-01-26 15:07:42 +00:00
scale chore: convert chainsaw tests to Test resource (#9109) 2023-12-07 14:08:04 +00:00
unknown-kind chore: convert chainsaw tests to Test resource (#9109) 2023-12-07 14:08:04 +00:00