1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 01:16:55 +00:00
kyverno/test/conformance/kuttl/generate/e2e/generate-on-subresource-trigger/99-cleanup.yaml
Vyom Yadav 80fc3013d3
fix: Support subresources as the trigger in generate rules (#6760)
* fix: check background scanning only for validation policies

Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>

* fix: Support subresources as the trigger in generate rules

Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>

---------

Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>
2023-04-04 11:01:06 +00:00

7 lines
437 B
YAML

apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: kubectl delete cpol zk-kafka-address --force --wait=true --ignore-not-found=true
- command: kubectl delete pod nginx -n test-generate-exec --wait=true --ignore-not-found=true
- command: kubectl delete cm zk-kafka-address -n test-generate-exec --wait=true --ignore-not-found=true
- command: kubectl delete ns test-generate-exec --wait=true --ignore-not-found=true