1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 09:26:54 +00:00
kyverno/test/cli/test-validating-admission-policy
abhashsolanki18 d2e6759115
fix:[Bug] [CLI] CEL scanning a namespace yaml object makes Kyverno crash (#11834)
* fix:[Bug] [CLI] CEL scanning a namespace yaml object makes Kyverno crash

Signed-off-by: abhashsolanki18 <abhashsolanki18@gmail.com>

* Fix nil pointer dereference in namespace handling for ValidatingAdmissionPolicy.

Signed-off-by: abhashsolanki18 <abhashsolanki18@gmail.com>

* added test for namespace resource

Signed-off-by: abhashsolanki18 <abhashsolanki18@gmail.com>

* fixed test

Signed-off-by: abhashsolanki18 <abhashsolanki18@gmail.com>

* fixed test

Signed-off-by: abhashsolanki18 <abhashsolanki18@gmail.com>

* fixed test, combined binding and policy

Signed-off-by: abhashsolanki18 <abhashsolanki18@gmail.com>

---------

Signed-off-by: abhashsolanki18 <abhashsolanki18@gmail.com>
2025-01-16 13:39:24 +00:00
..
check-deployment-labels chore: use v1 of VAPs in the tests (#11929) 2025-01-15 14:08:35 +00:00
check-deployments-replica chore: use v1 of VAPs in the tests (#11929) 2025-01-15 14:08:35 +00:00
disallow-host-path chore: use v1 of VAPs in the tests (#11929) 2025-01-15 14:08:35 +00:00
match-namespaces fix:[Bug] [CLI] CEL scanning a namespace yaml object makes Kyverno crash (#11834) 2025-01-16 13:39:24 +00:00
with-bindings-1 chore: use v1 of VAPs in the tests (#11929) 2025-01-15 14:08:35 +00:00
with-bindings-2 chore: use v1 of VAPs in the tests (#11929) 2025-01-15 14:08:35 +00:00
with-bindings-3 chore: use v1 of VAPs in the tests (#11929) 2025-01-15 14:08:35 +00:00
with-bindings-4 chore: use v1 of VAPs in the tests (#11929) 2025-01-15 14:08:35 +00:00
with-match-conditions chore: use v1 of VAPs in the tests (#11929) 2025-01-15 14:08:35 +00:00
with-namespaceObject-1 chore: use v1 of VAPs in the tests (#11929) 2025-01-15 14:08:35 +00:00
with-namespaceObject-2 chore: use v1 of VAPs in the tests (#11929) 2025-01-15 14:08:35 +00:00