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

This commit is contained in:
Johanne TROTIN 2025-03-06 10:39:16 +01:00
parent ac99e0801c
commit fd0fca11df

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