github.com/looshlee/beatles@v0.0.0-20220727174639-742810ab631c/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  }]