Skip to content

Commit 1a9e496

Browse files
Merge pull request #1430 from rfredette/ocpbugs-84773-canary-netpol
OCPBUGS-84773: Allow host network connections to the ingress canary
2 parents df64b34 + b99436e commit 1a9e496

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

pkg/manifests/assets/canary/networkpolicy-allow.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@ spec:
1515
- protocol: TCP
1616
port: 8443
1717
from:
18+
# depending on topology, valid canary checks will either appear to come from
19+
# the router's namespace or the host network.
1820
- namespaceSelector:
1921
matchLabels:
2022
kubernetes.io/metadata.name: openshift-ingress
23+
- namespaceSelector:
24+
matchLabels:
25+
policy-group.network.openshift.io/host-network: ""
2126
policyTypes:
2227
- Ingress

0 commit comments

Comments
 (0)