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"] |