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/02-script.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

6 lines
266 B
YAML

apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: kubectl run nginx --image=nginx -n test-generate-exec
- command: kubectl wait --for=condition=Ready pod/nginx -n test-generate-exec
- command: kubectl exec -n test-generate-exec nginx -it -- ls