added startupProbe support
This commit is contained in:
@ -49,6 +49,9 @@ spec:
|
|||||||
{{- with .Values.probes.readiness }}
|
{{- with .Values.probes.readiness }}
|
||||||
readinessProbe: {{ . | toYaml | nindent 12 }}
|
readinessProbe: {{ . | toYaml | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.probes.startup }}
|
||||||
|
startupProbe: {{ . | toYaml | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
{{- include "py-app.envs" . | indent 10 -}}
|
{{- include "py-app.envs" . | indent 10 -}}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
|
@ -6,5 +6,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
{{- include "py-app.labels" . | nindent 4 }}
|
{{- include "py-app.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
limits: {{ .Values.limitRange.limits | toYaml | nindent 2 }}
|
{{- with .Values.limitRange.limits }}
|
||||||
{{- end -}}
|
limits: {{ . | toYaml | nindent 2 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end -}}
|
||||||
|
Reference in New Issue
Block a user