File tree Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change 52
52
- protocol : TCP
53
53
port : 6443 # kube-api server
54
54
- protocol : TCP
55
- port : 50051 # catalog service
55
+ port : 50051 # registry pods' service port
56
56
- protocol : TCP
57
57
port : 53 # DNS
58
58
- protocol : UDP
@@ -75,13 +75,22 @@ spec:
75
75
- protocol : TCP
76
76
port : {{ .Values.package.service.internalPort }}
77
77
egress :
78
- - ports :
79
- - protocol : TCP
80
- port : 50051 # catalog service
81
- - protocol : TCP
82
- port : 53 # DNS
83
- - protocol : UDP
84
- port : 53 # DNS
78
+ - to :
79
+ - namespaceSelector :
80
+ matchLabels :
81
+ kubernetes.io/metadata.name : {{ .Values.catalog_namespace }} # For registry resolution
82
+ ports :
83
+ - protocol : TCP
84
+ port : 50051 # registry pods' service port
85
+ - to :
86
+ - namespaceSelector :
87
+ matchLabels :
88
+ kubernetes.io/metadata.name : kube-system # For DNS resolution (CoreDNS runs here)
89
+ ports :
90
+ - protocol : UDP
91
+ port : 53 # DNS
92
+ - protocol : TCP
93
+ port : 53 # DNS
85
94
policyTypes :
86
95
- Ingress
87
96
- Egress
You can’t perform that action at this time.
0 commit comments