Skip to content

Commit 88c373a

Browse files
author
Per G. da Silva
committed
Add dns and grpc egress rules to package server
Signed-off-by: Per G. da Silva <[email protected]>
1 parent fdf8a16 commit 88c373a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

deploy/chart/templates/0000_50_olm_01-networkpolicies.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ spec:
99
- Ingress
1010
- Egress
1111
---
12-
---
1312
apiVersion: networking.k8s.io/v1
1413
kind: NetworkPolicy
1514
metadata:
@@ -79,8 +78,19 @@ spec:
7978
- ports:
8079
- protocol: TCP
8180
port: {{ .Values.package.service.internalPort }}
81+
egress:
82+
- ports:
83+
- protocol: TCP
84+
port: 50051 # catalog service
85+
- protocol: TCP
86+
port: 53 # DNS
87+
- protocol: UDP
88+
port: 53 # DNS
89+
- protocol: TCP
90+
port: {{ .Values.package.service.internalPort }} # package service
8291
policyTypes:
8392
- Ingress
93+
- Egress
8494
---
8595
apiVersion: networking.k8s.io/v1
8696
kind: NetworkPolicy

0 commit comments

Comments
 (0)