Skip to content

Commit 4ce480c

Browse files
Remove the k8s executor debug port and Service, as #1016 does
#1016 deletes the executor's http-debug port 6060 and the executor-<queueName> Service in front of it: the executor has not served that port since Sourcegraph 4.1. Making the same deletions here keeps this PR and #1016 from conflicting in those files. Amp-Thread-ID: https://ampcode.com/threads/T-01a1d269-2788-7075-b66b-b87e3087047d Co-authored-by: Amp <amp@ampcode.com>
1 parent 4e71e8e commit 4ce480c

3 files changed

Lines changed: 1 addition & 34 deletions

File tree

‎charts/sourcegraph-executor/k8s/templates/executor.Deployment.yaml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ spec:
6363
image: {{ include "sourcegraph.image" (list . "executor") }}
6464
imagePullPolicy: {{ .Values.sourcegraph.image.pullPolicy }}
6565
{{- include "sourcegraph.containerSecurityContext" (list . "executor" 10) }}
66-
ports:
67-
- name: http-debug
68-
containerPort: 6060
6966
envFrom:
7067
- configMapRef:
7168
name: {{ include "executor.name" . }}

‎charts/sourcegraph-executor/k8s/templates/executor.Service.yaml‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

‎charts/sourcegraph-executor/k8s/tests/executor_test.yaml‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
suite: executor
22
templates:
33
- executor.Deployment.yaml
4-
- executor.Service.yaml
54
- executor.ConfigMap.yaml
65
tests:
7-
- it: should render the Deployment, Service, ConfigMap if executor is enabled
6+
- it: should render the Deployment, ConfigMap if executor is enabled
87
set:
98
executor:
109
queueName: "test"
@@ -14,11 +13,6 @@ tests:
1413
apiVersion: apps/v1
1514
name: executor-test
1615
template: executor.Deployment.yaml
17-
- containsDocument:
18-
kind: Service
19-
apiVersion: v1
20-
name: executor-test
21-
template: executor.Service.yaml
2216
- containsDocument:
2317
kind: ConfigMap
2418
apiVersion: v1

0 commit comments

Comments
 (0)