Skip to content

Commit ccf9453

Browse files
committed
Disabling sg-test-connection via busybox by default
1 parent 89c0fa6 commit ccf9453

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
@@ -1084,6 +1084,10 @@ searcher:
10841084
# -- Size of the PVC for searcher pods to store cache data
10851085
storageSize: 26Gi
10861086

1087+
sgTestConnection:
1088+
# Run a connection test after instance startup, for CI/CD testing
1089+
enabled: false
1090+
10871091
storageClass:
10881092
# -- Enable creation of storageClass.
10891093
# Disable if you have your own existing storage class

0 commit comments

Comments
 (0)