"Fossies" - the Fresh Open Source Software Archive

Member "istio-1.6.5/pilot/pkg/security/authz/builder/testdata/action-allow-HTTP-for-TCP-filter-in.yaml" (8 Jul 2020, 352 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: ALLOW
    8   rules:
    9   - from:
   10     - source:
   11         requestPrincipals: ["id-1"]
   12     to:
   13     - operation:
   14         methods: ["GET"]
   15   - from:
   16     - source:
   17         namespaces: ["ns-1"]
   18     to:
   19     - operation:
   20         ports: ["80"]