feat(template): added lifecycle probes

This commit is contained in:
jklein committed 2026-04-13 12:21:52 +02:00
1 parent 81743b23ed
commit 732da57846
3 files changed
+36 -2

No files matched your search

+6 -1
View File
@@ -30,7 +30,12 @@ spec:
- containerPort: 80
protocol: TCP
name: http
# TODO: Add liveness and readiness probes
livenessProbe:
{{ toYaml .Values.xxx.livenessProbe | nindent 12 }}
readinessProbe:
{{ toYaml .Values.xxx.readinessProbe | nindent 12 }}
startupProbe:
{{ toYaml .Values.xxx.startupProbe | nindent 12 }}
resources:
{{ toYaml .Values.xxx.resources | nindent 12 }}
securityContext:
+6 -1
View File
@@ -31,7 +31,12 @@ spec:
- containerPort: 80
protocol: TCP
name: http
# TODO: Add liveness and readiness probes
livenessProbe:
{{ toYaml .Values.xxx.livenessProbe | nindent 12 }}
readinessProbe:
{{ toYaml .Values.xxx.readinessProbe | nindent 12 }}
startupProbe:
{{ toYaml .Values.xxx.startupProbe | nindent 12 }}
{{- with .Values.xxx.resources }}
resources:
{{ toYaml . | nindent 12 }}