init-helm

This commit is contained in:
Simon Zeyer
2024-02-25 12:20:35 +01:00
commit 4bb3f6398c
10 changed files with 371 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "smarti.fullname" . }}-test-connection"
labels:
{{- include "smarti.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "smarti.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never