added startupProbe support
This commit is contained in:
@ -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 }}
|
||||
|
@ -6,5 +6,7 @@ metadata:
|
||||
labels:
|
||||
{{- include "py-app.labels" . | nindent 4 }}
|
||||
spec:
|
||||
limits: {{ .Values.limitRange.limits | toYaml | nindent 2 }}
|
||||
{{- with .Values.limitRange.limits }}
|
||||
limits: {{ . | toYaml | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
Reference in New Issue
Block a user