add helm chart with readiness endpoint

This commit is contained in:
2024-09-29 17:54:23 +02:00
parent 570d2acf78
commit 2bdebd9014
15 changed files with 488 additions and 5 deletions

View File

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