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 6d9ecd3 commit 5f7a9bd
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 5f7a9bd

Please sign in to comment.