github.com/looshlee/beatles@v0.0.0-20220727174639-742810ab631c/examples/policies/l4/l3_l4_combined.json (about)

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