diff --git a/charts/py-app/templates/deployment.yaml b/charts/py-app/templates/deployment.yaml index 6b13ecb..01a33b2 100644 --- a/charts/py-app/templates/deployment.yaml +++ b/charts/py-app/templates/deployment.yaml @@ -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 }} diff --git a/charts/py-app/templates/limitrange.yaml b/charts/py-app/templates/limitrange.yaml index 6bbf14b..b528383 100644 --- a/charts/py-app/templates/limitrange.yaml +++ b/charts/py-app/templates/limitrange.yaml @@ -6,5 +6,7 @@ metadata: labels: {{- include "py-app.labels" . | nindent 4 }} spec: - limits: {{ .Values.limitRange.limits | toYaml | nindent 2 }} -{{- end -}} \ No newline at end of file + {{- with .Values.limitRange.limits }} + limits: {{ . | toYaml | nindent 2 }} + {{- end }} +{{- end -}}