From 5d76adc2b7f655bdc2a61cada09ce2730b2158d0 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sun, 28 Apr 2024 23:25:49 +0200 Subject: Initial commit --- k8s/rest-api/templates/tests/test-connection.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 k8s/rest-api/templates/tests/test-connection.yaml (limited to 'k8s/rest-api/templates/tests') diff --git a/k8s/rest-api/templates/tests/test-connection.yaml b/k8s/rest-api/templates/tests/test-connection.yaml new file mode 100644 index 0000000..96fd9f2 --- /dev/null +++ b/k8s/rest-api/templates/tests/test-connection.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ include "rest-api.fullname" . }}-test-connection" + labels: + {{- include "rest-api.labels" . | nindent 4 }} + annotations: + "helm.sh/hook": test +spec: + containers: + - name: wget + image: busybox + command: ['wget'] + args: ['{{ include "rest-api.fullname" . }}:{{ .Values.service.port }}'] + restartPolicy: Never -- cgit 1.4.1