Added watcher helm chart

This commit is contained in:
Jonathan Ervine
2020-07-27 15:50:47 +08:00
parent 436fc00d57
commit 6bf9ea3979
10 changed files with 327 additions and 0 deletions
@@ -0,0 +1,15 @@
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "watcher.fullname" . }}-test-connection"
labels:
{{ include "watcher.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "watcher.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never