blob: 45e21334daddf32e887cd260b506a12f4e8d835a [file] [log] [blame]
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
namespace: "{{ .Namespace }}"
name: "dry-run-allow"
annotations:
"istio.io/dry-run": "true"
spec:
action: ALLOW
rules:
- when:
- key: request.headers[Dry-Run-Allow]
values: ["matched"]