Files
cicdTest/hello/templates.OLD/tests/test-connection.yaml
2020-03-03 09:54:02 +01:00

16 lines
381 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: "{{ include "hello.fullname" . }}-test-connection"
labels:
{{- include "hello.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "hello.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never