github.phpd.cn/cilium/cilium@v1.6.12/test/runtime/manifests/Policies-l3-dependent-l7-egress.json (about) 1 [{ 2 "endpointSelector": 3 {"matchLabels":{"id.app3":""}}, 4 "egress": [{ 5 "toEndpoints": [ 6 {"matchLabels":{"id.httpd1":""}} 7 ], 8 "toPorts": [{ 9 "ports": [ 10 {"port": "80", "protocol": "tcp"}], 11 "rules": { 12 "HTTP": [ 13 {"method": "GET", "path": "/public"}] 14 } 15 }] 16 }] 17 },{ 18 "endpointSelector": 19 {"matchLabels":{"id.app3":""}}, 20 "egress": [{ 21 "toEndpoints": [ 22 {"matchLabels":{"id.httpd2":""}} 23 ] 24 }] 25 },{ 26 "endpointSelector": 27 {"matchLabels":{"id.httpd2":""}}, 28 "egress": [{ 29 "toEntities": ["host"], 30 "toPorts": [{ 31 "ports": [{"port": "80", "protocol": "tcp"}], 32 "rules": { 33 "http": [{}] 34 } 35 }] 36 }] 37 }]