Skip to content

Commit b8e74c5

Browse files
committed
Add config to customize which image gets used for the connection test
1 parent 7de91e5 commit b8e74c5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ metadata:
1010
spec:
1111
containers:
1212
- name: wget
13-
image: busybox
13+
image: {{ include "sourcegraph.image" (list . "sgTestConnection") }}
1414
command: ['wget']
1515
args: ['sourcegraph-frontend:30080/']
1616
restartPolicy: Never

charts/sourcegraph/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,6 +1088,11 @@ sgTestConnection:
10881088
# Run a connection test after instance startup, for CI/CD testing
10891089
# Setting to true to not change default behaviour
10901090
enabled: true
1091+
image:
1092+
# -- Docker image tag for the sg-test-connection pod
1093+
defaultTag: ''
1094+
# -- Docker image name for the sg-test-connection pod
1095+
name: "busybox"
10911096

10921097
storageClass:
10931098
# -- Enable creation of storageClass.

0 commit comments

Comments
 (0)