From daf172833ca8ded43acaa32d03aae918af4c28c3 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Fri, 29 Jul 2022 08:09:47 +0200
Subject: Initial commit
---
templates/tests/test-connection.yaml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 templates/tests/test-connection.yaml
(limited to 'templates/tests/test-connection.yaml')
diff --git a/templates/tests/test-connection.yaml b/templates/tests/test-connection.yaml
new file mode 100644
index 0000000..51dffc2
--- /dev/null
+++ b/templates/tests/test-connection.yaml
@@ -0,0 +1,15 @@
+apiVersion: v1
+kind: Pod
+metadata:
+ name: "{{ include "nitter.fullname" . }}-test-connection"
+ labels:
+ {{- include "nitter.labels" . | nindent 4 }}
+ annotations:
+ "helm.sh/hook": test
+spec:
+ containers:
+ - name: wget
+ image: busybox
+ command: ['wget']
+ args: ['{{ include "nitter.fullname" . }}:{{ .Values.service.port }}']
+ restartPolicy: Never
--
cgit v1.1