Skip to content

Commit 2d3adb1

Browse files
authored
Kubernetes: fix global network policy (#1227)
1 parent a3d5f74 commit 2d3adb1

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

charts/calico-configuration/templates/globalpolicy.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ spec:
2626
# IP from https://github.com/kubernetes-sigs/kubespray/blob/v2.24.1/roles/kubespray-defaults/defaults/main/main.yml#L108
2727
- action: Allow
2828
protocol: UDP
29-
nets:
30-
- 169.254.25.10/32
31-
ports:
32-
- 53
29+
destination:
30+
nets:
31+
- 169.254.25.10/32
32+
ports:
33+
- 53
3334
- action: Allow
3435
protocol: TCP
3536
destination:
@@ -38,7 +39,8 @@ spec:
3839
- 53
3940
- action: Allow
4041
protocol: TCP
41-
nets:
42-
- 169.254.25.10/32
43-
ports:
44-
- 53
42+
destination:
43+
nets:
44+
- 169.254.25.10/32
45+
ports:
46+
- 53

0 commit comments

Comments
 (0)