feat: add starter

This commit is contained in:
Chi-En Wu
2020-04-27 11:46:24 +08:00
parent a6fab55d7d
commit a57a1f7e09
9 changed files with 201 additions and 0 deletions

View File

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