make liveness and readiness probes optional and further configurable

This commit is contained in:
jessebot
2025-01-18 20:20:33 +01:00
parent c64cf91e69
commit 295aa694d7
4 changed files with 29 additions and 18 deletions
+6 -2
View File
@@ -335,10 +335,14 @@ spec:
- name: DB_APPLY_NEW_MIGRATIONS_AUTOMATICALLY
value: "{{ .Values.pixelfed.db_apply_new_migrations_automatically }}"
{{- with .Values.livenessProbe }}
livenessProbe:
{{- toYaml .Values.livenessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.readinessProbe }}
readinessProbe:
{{- toYaml .Values.readinessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.volumeMounts }}