charts/teslamate/templates/tests/test-connection.yaml
Jeff Billimek b332249e9d
Introduces the teslamate chart (#106)
* Introduces the teslamate chart

Fixes #101

Signed-off-by: Jeff Billimek <jeff@billimek.com>

* get on the startupprobe bandwagon
2019-12-22 00:19:10 -05:00

19 lines
565 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: "{{ include "teslamate.fullname" . }}-test-connection"
labels:
app.kubernetes.io/name: {{ include "teslamate.name" . }}
helm.sh/chart: {{ include "teslamate.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "teslamate.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never