Skip to content

Commit 34b0665

Browse files
committed
Fixing other port names also affected
1 parent cdf4a34 commit 34b0665

File tree

7 files changed

+16
-13
lines changed

7 files changed

+16
-13
lines changed

charts/sourcegraph/templates/blobstore/blobstore.Deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,18 @@ spec:
5656
terminationMessagePolicy: FallbackToLogsOnError
5757
ports:
5858
- containerPort: 9000
59-
name: blobstore
59+
name: http
6060
livenessProbe:
6161
httpGet:
6262
path: /
63-
port: blobstore
63+
port: http
6464
scheme: HTTP
6565
initialDelaySeconds: 60
6666
timeoutSeconds: 5
6767
readinessProbe:
6868
httpGet:
6969
path: /
70-
port: blobstore
70+
port: http
7171
scheme: HTTP
7272
periodSeconds: 5
7373
timeoutSeconds: 5

charts/sourcegraph/templates/blobstore/blobstore.Service.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ metadata:
1616
name: blobstore
1717
spec:
1818
ports:
19-
- name: blobstore
19+
- name: http
2020
port: 9000
21-
targetPort: blobstore
21+
targetPort: http
2222
selector:
2323
{{- include "sourcegraph.selectorLabels" . | nindent 4 }}
2424
app: blobstore

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

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

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ metadata:
2020
spec:
2121
clusterIP: None
2222
ports:
23-
- port: 6070
23+
- name: http
24+
port: 6070
25+
targetPort: http
2426
selector:
2527
{{- include "sourcegraph.selectorLabels" . | nindent 4 }}
2628
app: indexed-search

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ spec:
9999
{{- end }}
100100
ports:
101101
- containerPort: 6072
102-
name: index-http
102+
name: http-indexserver
103103
{{- if not .Values.sourcegraph.localDevMode }}
104104
resources:
105105
{{- toYaml .Values.indexedSearchIndexer.resources | nindent 10 }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ metadata:
1818
spec:
1919
clusterIP: None
2020
ports:
21-
- name: http
21+
- name: grpc
2222
port: 3181
23-
targetPort: http
23+
targetPort: grpc
2424
- name: debug
2525
port: 6060
2626
targetPort: debug

charts/sourcegraph/templates/searcher/searcher.StatefulSet.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ spec:
8585
terminationMessagePolicy: FallbackToLogsOnError
8686
ports:
8787
- containerPort: 3181
88-
name: http
88+
name: grpc
8989
- containerPort: 6060
9090
name: debug
9191
readinessProbe:
9292
failureThreshold: 3
9393
httpGet:
9494
path: /healthz
95-
port: http
95+
port: grpc
9696
scheme: HTTP
9797
periodSeconds: 5
9898
timeoutSeconds: 5

0 commit comments

Comments
 (0)