github.phpd.cn/cilium/cilium@v1.6.12/test/runtime/manifests/Policies-l7-multiple.json (about) 1 [ 2 { 3 "endpointSelector": 4 {"matchLabels":{"id.httpd1":""}}, 5 "ingress": [{ 6 "fromEndpoints": [ 7 {"matchLabels":{"reserved:host":""}}, 8 {"matchLabels":{"id.app1":""}} 9 ], 10 "toPorts": [{ 11 "ports": [ 12 {"port": "80", "protocol": "tcp"}, 13 {"port": "8080", "protocol": "tcp"}], 14 "rules": { 15 "HTTP": [ 16 {"method": "GET", "path": "/public"}] 17 } 18 }] 19 }] 20 }, 21 { 22 "endpointSelector": 23 {"matchLabels":{"id.httpd2":""}}, 24 "ingress": [{ 25 "fromEndpoints": [ 26 {"matchLabels":{"reserved:host":""}}, 27 {"matchLabels":{"id.app2":""}} 28 ] 29 }] 30 }, 31 { 32 "endpointSelector": 33 {"matchLabels":{"id.app2":""}}, 34 "egress": [{ 35 "toPorts": [{ 36 "ports": [ 37 {"port": "80", "protocol": "tcp"}, 38 {"port": "8080", "protocol": "tcp"}], 39 "rules": { 40 "HTTP": [ 41 {"method": "GET", "path": "/public"}] 42 } 43 }] 44 }] 45 }]