Feature/deployment probe override (#1876)

Co-authored-by: capitansec <capitansec@gmail.com>
Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
Burak Bozacı
2026-02-20 11:19:51 +03:00
committed by GitHub
parent 583377d2a5
commit db70a2bed0
2 changed files with 10 additions and 16 deletions
+8 -16
View File
@@ -96,24 +96,16 @@ spec:
name: {{ include "rustfs.secretName" . }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.livenessProbe.enabled }}
livenessProbe:
httpGet:
path: /health
port: 9000
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 3
successThreshold: 1
failureThreshold: 3
{{- omit .Values.livenessProbe "enabled" | toYaml | nindent 12 }}
{{- end }}
{{- if .Values.readinessProbe.enabled }}
readinessProbe:
httpGet:
path: /health/ready
port: 9000
initialDelaySeconds: 30
periodSeconds: 5
timeoutSeconds: 3
successThreshold: 1
failureThreshold: 3
{{- omit .Values.readinessProbe "enabled" | toYaml | nindent 12 }}
{{- end }}
volumeMounts:
- name: logs
mountPath: {{ $logDir }}