Skip to content

Commit 1f4c884

Browse files
committed
Fix tests and formatting
1 parent 4f4b88e commit 1f4c884

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ spec:
5555
args: {{- default (list "") .Values.blobstore.args | toYaml | nindent 8 }}
5656
terminationMessagePolicy: FallbackToLogsOnError
5757
ports:
58-
- containerPort: 9000
59-
name: http
58+
- name: http
59+
containerPort: 9000
6060
livenessProbe:
6161
httpGet:
6262
path: /

charts/sourcegraph/templates/frontend/sourcegraph-frontend.Deployment.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ spec:
119119
periodSeconds: 5
120120
timeoutSeconds: 5
121121
ports:
122-
- containerPort: 3080
123-
name: http
124-
- containerPort: 3090
125-
name: grpc-internal
126-
- containerPort: 6060
127-
name: debug
122+
- name: debug
123+
containerPort: 6060
124+
- name: grpc-internal
125+
containerPort: 3090
126+
- name: http
127+
containerPort: 3080
128128
{{- if not .Values.sourcegraph.localDevMode }}
129129
resources:
130130
{{- toYaml .Values.frontend.resources | nindent 10 }}

charts/sourcegraph/tests/otelAgentHostPort_test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tests:
1515
content:
1616
containerPort: 4317
1717
hostPort: 4317
18-
name: otlp-grpc
18+
name: grpc-otlp
1919
- contains:
2020
path: spec.template.spec.containers[0].ports
2121
content:
@@ -51,7 +51,7 @@ tests:
5151
content:
5252
containerPort: 4317
5353
hostPort: 4319
54-
name: otlp-grpc
54+
name: grpc-otlp
5555
- contains:
5656
path: spec.template.spec.containers[0].ports
5757
content:

0 commit comments

Comments
 (0)