Skip to content

Commit 32be25f

Browse files
committed
Add fixes from customer
1 parent fa1fd7f commit 32be25f

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

charts/sourcegraph/templates/indexed-search/indexed-search.IndexerService.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ metadata:
2020
spec:
2121
clusterIP: None
2222
ports:
23-
- name: http-indexer
23+
- name: grpc-indexer
24+
appProtocol: grpc
2425
port: 6072
25-
targetPort: http-indexer
26+
targetPort: grpc-indexer
2627
selector:
2728
{{- include "sourcegraph.selectorLabels" . | nindent 4 }}
2829
app: indexed-search

charts/sourcegraph/templates/indexed-search/indexed-search.Service.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ metadata:
2020
spec:
2121
clusterIP: None
2222
ports:
23-
- name: http
23+
- name: grpc
24+
appProtocol: grpc
2425
port: 6070
25-
targetPort: http
26+
targetPort: grpc
2627
selector:
2728
{{- include "sourcegraph.selectorLabels" . | nindent 4 }}
2829
app: indexed-search

charts/sourcegraph/templates/indexed-search/indexed-search.StatefulSet.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ spec:
6161
value: "false"
6262
{{- end }}
6363
ports:
64-
- name: http
64+
- name: grpc
6565
containerPort: 6070
6666
readinessProbe:
6767
failureThreshold: 3
6868
httpGet:
6969
path: /healthz
70-
port: http
70+
port: grpc
7171
scheme: HTTP
7272
periodSeconds: 5
7373
timeoutSeconds: 5
@@ -98,7 +98,7 @@ spec:
9898
value: "false"
9999
{{- end }}
100100
ports:
101-
- name: http-indexer
101+
- name: grpc-indexer
102102
containerPort: 6072
103103
{{- if not .Values.sourcegraph.localDevMode }}
104104
resources:

charts/sourcegraph/templates/searcher/searcher.Service.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ spec:
1919
clusterIP: None
2020
ports:
2121
- name: grpc
22+
appProtocol: grpc
2223
port: 3181
2324
targetPort: grpc
2425
- name: http-debug

0 commit comments

Comments
 (0)