added startupProbe support

This commit is contained in:
Dev Jadeja
2025-02-12 11:33:08 +05:30
parent e412a20dd6
commit 474c501d56
2 changed files with 7 additions and 2 deletions

View File

@ -49,6 +49,9 @@ spec:
{{- with .Values.probes.readiness }}
readinessProbe: {{ . | toYaml | nindent 12 }}
{{- end }}
{{- with .Values.probes.startup }}
startupProbe: {{ . | toYaml | nindent 12 }}
{{- end }}
{{- include "py-app.envs" . | indent 10 -}}
resources:
{{- toYaml .Values.resources | nindent 12 }}

View File

@ -6,5 +6,7 @@ metadata:
labels:
{{- include "py-app.labels" . | nindent 4 }}
spec:
limits: {{ .Values.limitRange.limits | toYaml | nindent 2 }}
{{- end -}}
{{- with .Values.limitRange.limits }}
limits: {{ . | toYaml | nindent 2 }}
{{- end }}
{{- end -}}