fix(cilium): more flexible L2 enabling

This commit is contained in:
JJGadgets
2023-12-17 22:48:06 +08:00
parent 2b27cc08ed
commit 88fe4db410
2 changed files with 1 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ metadata:
name: "l2"
spec:
externalIPs: true
loadBalancerIPs: true # as a backup to BGP
nodeSelector:
matchLabels:
kubernetes.io/os: "linux"

View File

@@ -8,8 +8,6 @@ spec:
- cidr: "${IP_LB_CIDR}"
serviceSelector:
matchExpressions:
- key: "io.cilium/l2"
operator: DoesNotExist
- key: "exposeSvc"
operator: DoesNotExist
---