github.com/fafucoder/cilium@v1.6.11/examples/policies/l3/service/service-labels.json (about)

     1  [{
     2      "labels": [{"key": "name", "value": "service-labels-rule"}],
     3      "endpointSelector": {
     4          "matchLabels": {
     5              "id": "app2"
     6          }
     7      },
     8      "egress": [
     9          {
    10              "toServices": [
    11                  {
    12                      "k8sServiceSelector": {
    13                          "selector": {
    14                              "matchLabels": {
    15                                  "head": "none"
    16                              }
    17                          }
    18                      }
    19                  }
    20              ]
    21          }
    22      ]
    23  }
    24  ]