Téléverser les fichiers vers "helm-chart/templates/tests"
This commit is contained in:
parent
610d858fad
commit
5c9ef505ca
15
helm-chart/templates/tests/test-connection.yaml
Normal file
15
helm-chart/templates/tests/test-connection.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user