ServiceSelector selects a group of load balancer services which this
virtual router will announce. The loadBalancerClass for a service must
be nil or specify a class supported by Cilium, e.g. "io.cilium/bgp-control-plane".
Refer to the following document for additional details regarding load balancer
classes:
https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-class
If empty / nil no services will be announced.
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.