github.phpd.cn/cilium/cilium@v1.6.12/examples/demo/sw_policy_l4.json (about)

     1  [{
     2      "endpointSelector": {"matchLabels":{"id.empire.deathstar":""}},
     3      "ingress": [{
     4          "fromEndpoints": [{"matchLabels":{"id.spaceship":""}}],
     5  	"toPorts": [
     6  	    {"ports": [{"port": "80", "protocol": "tcp"}]}
     7  	]
     8      }]
     9  }]