github.com/looshlee/cilium@v1.6.12/examples/policies/l4/multi_rule.json (about)

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