github.com/form3tech-oss/cilium@v1.6.3/examples/policies/getting-started/cilium_dkr_demo_l3-l4-policy-170817.json (about)

     1  [{
     2      "labels": [{"key": "name", "value": "l3-rule"}],
     3      "endpointSelector": {"matchLabels":{"id":"app1"}},
     4      "ingress": [{
     5          "fromEndpoints": [
     6              {"matchLabels":{"id":"app2"}}
     7          ],
     8          "toPorts": [{
     9                  "ports": [{"port": "80", "protocol": "TCP"}]
    10          }]
    11      }]
    12  }]