github.com/fafucoder/cilium@v1.6.11/examples/policies/getting-started/l7-policy.json (about) 1 [{ 2 "labels": [{"key": "name", "value": "l7-rule"}], 3 "endpointSelector": {"matchLabels":{"id":"web-server"}}, 4 "ingress": [{ 5 "fromEndpoints": [ 6 {"matchLabels":{"id":"goodclient"}} 7 ], 8 "toPorts": [{ 9 "ports": [{"port": "8181", "protocol": "TCP"}], 10 "rules": { 11 "http": [{ 12 "method": "GET", 13 "path": "/public" 14 }] 15 } 16 }] 17 }] 18 }]