istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pilot/pkg/security/authz/builder/testdata/http/allow-host-before-111-in.yaml (about) 1 apiVersion: security.istio.io/v1beta1 2 kind: AuthorizationPolicy 3 metadata: 4 name: httpbin-1 5 namespace: foo 6 spec: 7 selector: 8 matchLabels: 9 app: httpbin 10 version: v1 11 rules: 12 - to: 13 - operation: 14 hosts: ["example.com", "prefix.example.*", "*.example.com", "*"] 15 notHosts: ["not-example.com", "prefix.not-example.*", "*.not-example.com", "*"]