blob: 401e5f4df4f3c6aa80a002f2750d87c7d598cc37 [file] [log] [blame]
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: httpbin-1
namespace: foo
annotations:
"istio.io/dry-run": "true"
spec:
selector:
matchLabels:
app: httpbin
version: v1
action: ALLOW
rules:
- to:
- operation:
paths: ["/allow"]
---
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: httpbin-2
namespace: foo
annotations:
"istio.io/dry-run": "false"
spec:
selector:
matchLabels:
app: httpbin
version: v1
action: ALLOW
rules:
- to:
- operation:
paths: ["/another"]