"Fossies" - the Fresh Open Source Software Archive

Member "istio-1.6.5/pilot/pkg/security/authz/builder/testdata/action-both-in.yaml" (8 Jul 2020, 397 Bytes) of package /linux/misc/istio-1.6.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 apiVersion: security.istio.io/v1beta1
    2 kind: AuthorizationPolicy
    3 metadata:
    4   name: httpbin-deny
    5   namespace: foo
    6 spec:
    7   action: DENY
    8   rules:
    9   - from:
   10     - source:
   11         principals: ["deny"]
   12 ---
   13 apiVersion: security.istio.io/v1beta1
   14 kind: AuthorizationPolicy
   15 metadata:
   16   name: httpbin-allow
   17   namespace: foo
   18 spec:
   19   action: ALLOW
   20   rules:
   21   - from:
   22     - source:
   23         principals: ["allow"]