Skip to content

Commit 1062a46

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

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
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 & 8 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
@@ -96,13 +96,6 @@ networkPolicy:
9696
ports:
9797
- protocol: TCP
9898
port: 6443
99-
to:
100-
- namespaceSelector:
101-
matchLabels:
102-
kubernetes.io/metadata.name: kube-system
103-
podSelector:
104-
matchLabels:
105-
component: kube-apiserver
10699
metrics:
107100
ports:
108101
- protocol: TCP

0 commit comments

Comments
 (0)