Skip to content

Commit 158c2ba

Browse files
committed
Disabling sg-test-connection via busybox by default
1 parent 84ea4b2 commit 158c2ba

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

charts/sourcegraph/templates/tests/test-connection.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.sgTestConnection.enabled -}}
12
apiVersion: v1
23
kind: Pod
34
metadata:
@@ -12,4 +13,5 @@ spec:
1213
image: busybox
1314
command: ['wget']
1415
args: ['sourcegraph-frontend:30080/']
15-
restartPolicy: Never
16+
restartPolicy: Never
17+
{{- end }}

charts/sourcegraph/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,6 +1076,10 @@ searcher:
10761076
# -- Size of the PVC for searcher pods to store cache data
10771077
storageSize: 26Gi
10781078

1079+
sgTestConnection:
1080+
# Run a connection test after instance startup, for CI/CD testing
1081+
enabled: false
1082+
10791083
storageClass:
10801084
# -- Enable creation of storageClass.
10811085
# Disable if you have your own existing storage class

0 commit comments

Comments
 (0)