apiVersion: chainsaw.kyverno.io/v1alpha1 kind: Test metadata: name: policy-different-resource-group spec: steps: - name: create policy use: template: ../../_step-templates/create-policy.yaml with: bindings: - name: file value: policy.yaml - name: wait policy ready use: template: ../../_step-templates/policy-ready.yaml with: bindings: - name: name value: policy-1 - name: wait policy ready use: template: ../../_step-templates/policy-ready.yaml with: bindings: - name: name value: policy-2 - name: step-3 try: - assert: file: webhooks.yaml