--- apiVersion: chainsaw.kyverno.io/v1alpha1 kind: TestStep metadata: creationTimestamp: null name: deployment spec: timeouts: {} try: - apply: file: good-deployment.yaml - apply: check: (error != null): true file: bad-deployment.yaml