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/validate/e2e/trusted-images/03-create-bad.yaml
Charles-Edouard Brétéché 70b0f99f5e
chore: improve a few kuttl tests using shouldFail instead of commands (#6791)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-04-05 15:47:01 +00:00

6 lines
206 B
YAML

## Checks that the manifests.yaml file CANNOT be successfully created. If it can, fail the test as this is incorrect.
apiVersion: kuttl.dev/v1beta1
kind: TestStep
apply:
- file: bad.yaml
shouldFail: true