Skip to content

Commit ffd4e3a

Browse files
committed
fixing liveness and readiness probes
1 parent d2a9085 commit ffd4e3a

File tree

5 files changed

+4
-2
lines changed

5 files changed

+4
-2
lines changed
File renamed without changes.

deploy/postgresus/helm/statefulset.yaml renamed to deploy/postgresus/templates/statefulset.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,17 @@ spec:
5050
{{- toYaml .Values.resources | nindent 12 }}
5151
{{- if .Values.livenessProbe.enabled }}
5252
livenessProbe:
53-
{{- toYaml .Values.livenessProbe.httpGet | nindent 12 }}
53+
httpGet:
54+
{{- toYaml .Values.livenessProbe.httpGet | nindent 14 }}
5455
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
5556
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
5657
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
5758
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
5859
{{- end }}
5960
{{- if .Values.readinessProbe.enabled }}
6061
readinessProbe:
61-
{{- toYaml .Values.readinessProbe.httpGet | nindent 12 }}
62+
httpGet:
63+
{{- toYaml .Values.readinessProbe.httpGet | nindent 14 }}
6264
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
6365
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
6466
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}

0 commit comments

Comments
 (0)