summaryrefslogtreecommitdiff
path: root/templates/tests/test-connection.yaml
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-07-29 08:09:47 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-07-29 08:09:47 +0200
commitdaf172833ca8ded43acaa32d03aae918af4c28c3 (patch)
tree9dd105768a634b46541f7c3b9dff5d02d6204a8b /templates/tests/test-connection.yaml
Initial commitHEADmaster
Diffstat (limited to 'templates/tests/test-connection.yaml')
-rw-r--r--templates/tests/test-connection.yaml15
1 files changed, 15 insertions, 0 deletions
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