apiVersion: chainsaw.kyverno.io/v1alpha1 kind: Test metadata: creationTimestamp: null name: policy-clusterpolicy-different-resource-group spec: steps: - name: step-01 try: - apply: file: policy-1.yaml - assert: file: policy-1-assert.yaml - name: step-2 try: - apply: file: policy-2.yaml - assert: file: policy-2-assert.yaml - name: step-3 try: - assert: file: webhooks.yaml