blob: 862b239e327a49286b8df4e8c80b5509315673b7 [file] [log] [blame]
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: httpbin-1
namespace: foo
spec:
selector:
matchLabels:
app: httpbin
version: v1
rules:
- to:
- operation:
hosts: ["example.com", "prefix.example.*", "*.example.com", "*"]
notHosts: ["not-example.com", "prefix.not-example.*", "*.not-example.com", "*"]