Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/timer-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/templates/tests/test-connection.yaml')
-rw-r--r--test/templates/tests/test-connection.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/templates/tests/test-connection.yaml b/test/templates/tests/test-connection.yaml
new file mode 100644
index 0000000..fa5cf6d
--- /dev/null
+++ b/test/templates/tests/test-connection.yaml
@@ -0,0 +1,15 @@
+apiVersion: v1
+kind: Pod
+metadata:
+ name: "{{ include "test.fullname" . }}-test-connection"
+ labels:
+{{ include "test.labels" . | nindent 4 }}
+ annotations:
+ "helm.sh/hook": test-success
+spec:
+ containers:
+ - name: wget
+ image: busybox
+ command: ['wget']
+ args: ['{{ include "test.fullname" . }}:{{ .Values.service.port }}']
+ restartPolicy: Never