Téléverser les fichiers vers "helm-chart/templates/tests"

This commit is contained in:
Johanne TROTIN 2025-03-30 17:38:09 +02:00
parent 610d858fad
commit 5c9ef505ca

View File

@ -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