20 lines
795 B
Diff
20 lines
795 B
Diff
|
diff --git a/templates/tests/test-connection.yaml b/templates/tests/test-connection.yaml
|
||
|
index 8dfed87..b4b98bc 100644
|
||
|
--- a/templates/tests/test-connection.yaml
|
||
|
+++ b/templates/tests/test-connection.yaml
|
||
|
@@ -9,7 +9,13 @@ metadata:
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: wget
|
||
|
- image: busybox
|
||
|
+ image: "{{ .Values.image.registry }}/{{ .Values.giantswarm.images.test.image }}:{{ .Values.giantswarm.images.test.tag }}"
|
||
|
+ imagePullPolicy: {{ .Values.giantswarm.images.test.pullPolicy }}
|
||
|
command: ['wget']
|
||
|
args: ['{{ include "chart.fullname" . }}:{{ .Values.service.port }}']
|
||
|
+ securityContext:
|
||
|
+ readOnlyRootFilesystem: true
|
||
|
+ runAsUser: 1000
|
||
|
+ resources:
|
||
|
+ {{- toYaml .Values.giantswarm.resources.test | nindent 8 }}
|
||
|
restartPolicy: Never
|