Skip to content

Commit

Permalink
networkpolicy: allow connections from webhook
Browse files Browse the repository at this point in the history
Allow connection to the operator pod from host network, marked with
label
`policy-group.network.openshift.io/host-network: ""`

https://access.redhat.com/solutions/7008681

Signed-off-by: Yauheni Kaliuta <[email protected]>
  • Loading branch information
ykaliuta committed Sep 2, 2024
1 parent 47334de commit 7ad3aa7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/monitoring/networkpolicy/operator/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ spec:
- namespaceSelector:
matchLabels:
opendatahub.io/generated-namespace: "true"
- namespaceSelector:
matchLabels:
policy-group.network.openshift.io/host-network: ""
policyTypes:
- Ingress
- Ingress

0 comments on commit 7ad3aa7

Please sign in to comment.