Skip to content

Commit

Permalink
Replace ToServices/ToPorts combination in CiliumNetworkPolicy bec…
Browse files Browse the repository at this point in the history
…ause of breakage in Cilium v1.14

See cilium/cilium#20067 - the combination is not supported anymore and Cilium prints warnings about the non-effective policy.
  • Loading branch information
AndiDog committed Jan 22, 2024
1 parent 57fd441 commit fa5c7b1
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions helm/cilium/templates/extra-policies/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ data:
endpointSelector: {} # any
egress:
- toServices:
- k8sServiceSelector:
namespace: kube-system
selector:
matchLabels:
k8s-app: coredns
- toEndpoints:
- matchLabels:
k8s-app: coredns
k8s:io.kubernetes.pod.namespace: kube-system
toPorts:
- ports:
Expand Down

0 comments on commit fa5c7b1

Please sign in to comment.