github.com/form3tech-oss/cilium@v1.6.3/examples/policies/l7/http/simple/l7.json (about)

     1  [{
     2    "labels": [{"key": "name", "value": "rule1"}],
     3    "endpointSelector": {"matchLabels": {"app": "service"}},
     4    "ingress": [{
     5      "fromEndpoints": [
     6        {"matchLabels": {"env": "prod"}}
     7      ]},{
     8      "toPorts": [{
     9        "ports": [
    10          {"port": "80", "protocol": "TCP"}
    11        ],
    12        "rules": {
    13          "http": [
    14            {
    15              "method": "GET",
    16              "path": "/public"
    17            }
    18          ]
    19        }
    20      }]
    21    }]
    22  }]