blob: fbea9b5d0504707096da74a4be30b863d3189fe2 [file] [log] [blame]
# The following policy selects workload c in all namespaces
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: policy-ns-root-{{ .c }}
namespace: "{{ .RootNamespace }}"
spec:
selector:
matchLabels:
"app": "{{ .c }}"
rules:
- to:
- operation:
paths: ["/policy-ns-root-{{ .c }}"]
---