From fd0fca11df916266f694e0524cb379047605b9ea Mon Sep 17 00:00:00 2001 From: Johanne TROTIN Date: Thu, 6 Mar 2025 10:39:16 +0100 Subject: [PATCH] =?UTF-8?q?T=C3=A9l=C3=A9verser=20les=20fichiers=20vers=20?= =?UTF-8?q?"helm-chart/templates/tests"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helm-chart/templates/tests/test-connection.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 helm-chart/templates/tests/test-connection.yaml diff --git a/helm-chart/templates/tests/test-connection.yaml b/helm-chart/templates/tests/test-connection.yaml new file mode 100644 index 0000000..de2dae1 --- /dev/null +++ b/helm-chart/templates/tests/test-connection.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ include "helm-chart.fullname" . }}-test-connection" + labels: + {{- include "helm-chart.labels" . | nindent 4 }} + annotations: + "helm.sh/hook": test +spec: + containers: + - name: wget + image: busybox + command: ['wget'] + args: ['{{ include "helm-chart.fullname" . }}:{{ .Values.service.port }}'] + restartPolicy: Never