ServiceSelector selects a set of services which will be announced over L2 networks.
The loadBalancerClass for a service must be nil or specify a supported class, e.g.
"io.cilium/l2-announcer". Refer to the following document for additional details
regarding load balancer classes:
https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-class
If nil this policy applies to all services.
matchExpressions
[]object
matchExpressions is a list of label selector requirements. The requirements are ANDed.
key
string required
key is the label key that the selector applies to.
operator
string required
operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists and DoesNotExist.
enum: In, NotIn, Exists, DoesNotExist
values
[]string
values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
matchLabels
object
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.