32d523aa71
tests(stdlib/k8s/helm): add verification style(tests/): rename helper into verify to confirm that deployments works Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
16 lines
387 B
YAML
16 lines
387 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: "{{ include "mychart.fullname" . }}-test-connection"
|
|
labels:
|
|
{{- include "mychart.labels" . | nindent 4 }}
|
|
annotations:
|
|
"helm.sh/hook": test-success
|
|
spec:
|
|
containers:
|
|
- name: wget
|
|
image: busybox
|
|
command: ['wget']
|
|
args: ['{{ include "mychart.fullname" . }}:{{ .Values.service.port }}']
|
|
restartPolicy: Never
|