Skip to content

Commit 7e013e0

Browse files
author
Per G. da Silva
committed
Address reviewer comments
Signed-off-by: Per G. da Silva <[email protected]>
1 parent 717e871 commit 7e013e0

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ spec:
4343
- {{ .Values.networkPolicy.dns | toYaml | nindent 6 | trimSuffix "\n" }}
4444
- ports: # This is another distinct rule in the egress list
4545
- protocol: TCP
46-
port: {{ .Values.catalogGrpcServicePort }}
46+
port: {{ .Values.catalogGrpcPodPort }}
4747
policyTypes:
4848
- Ingress
4949
- Egress
@@ -65,7 +65,7 @@ spec:
6565
- {{ .Values.networkPolicy.dns | toYaml | nindent 6 | trimSuffix "\n" }}
6666
- ports:
6767
- protocol: TCP
68-
port: {{ .Values.catalogGrpcServicePort }}
68+
port: {{ .Values.catalogGrpcPodPort }}
6969
policyTypes:
7070
- Ingress
7171
- Egress

deploy/chart/values.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ writeStatusName: '""'
1919
imagestream: false
2020
debug: false
2121
installType: upstream
22-
catalogGrpcServicePort: 50051
22+
catalogGrpcPodPort: 50051
2323

2424
olm:
2525
replicaCount: 1
@@ -85,24 +85,10 @@ networkPolicy:
8585
port: 53
8686
- protocol: UDP
8787
port: 53
88-
to:
89-
- namespaceSelector:
90-
matchLabels:
91-
kubernetes.io/metadata.name: kube-system
92-
podSelector:
93-
matchLabels:
94-
k8s-app: kube-dns
9588
kubeAPIServer:
9689
ports:
9790
- protocol: TCP
9891
port: 6443
99-
to:
100-
- namespaceSelector:
101-
matchLabels:
102-
kubernetes.io/metadata.name: kube-system
103-
podSelector:
104-
matchLabels:
105-
component: kube-apiserver
10692
metrics:
10793
ports:
10894
- protocol: TCP

0 commit comments

Comments
 (0)