istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/integration/security/testdata/authz/not-namespace.yaml.tmpl (about)

     1  apiVersion: security.istio.io/v1beta1
     2  kind: AuthorizationPolicy
     3  metadata:
     4    name: {{ .To.ServiceName }}-deny
     5  spec:
     6    selector:
     7      matchLabels:
     8        "app": "{{ .To.ServiceName }}"
     9    action: DENY
    10    rules:
    11      - from:
    12        - source:
    13            notNamespaces: [ "{{ .Allowed.NamespaceName }}" ]