c3123513f8c318ff1bcefeecab78951436692312
[nonrtric.git] / test / simulator-group / istio / ap-principal-template.yaml
1 apiVersion: security.istio.io/v1beta1
2 kind: AuthorizationPolicy
3 metadata:
4   name: $ISTIO_TEMPLATE_REPLACE_AP_NAME
5   namespace: $ISTIO_TEMPLATE_REPLACE_AP_NS
6   labels:
7     autotest: ISTIO
8 spec:
9   selector:
10     matchLabels:
11       run: $ISTIO_TEMPLATE_REPLACE_AP_APP_NAME
12   action: ALLOW
13   rules:
14     - from:
15       - source:
16           requestPrincipals: ["$ISTIO_TEMPLATE_REPLACE_AP_PRINCIPAL"]
17