istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/integration/security/testdata/authz/workload-system-ns.yaml.tmpl (about) 1 # The following policy selects workloads for the service in all namespaces 2 3 apiVersion: security.istio.io/v1beta1 4 kind: AuthorizationPolicy 5 metadata: 6 name: policy-system-{{ .To.ServiceName }} 7 spec: 8 selector: 9 matchLabels: 10 "app": "{{ .To.ServiceName }}" 11 rules: 12 - to: 13 - operation: 14 paths: ["/policy-system-{{ .To.ServiceName }}"] 15 ---