Skip to content

Commit 065ded3

Browse files
Merge pull request #119 from tylerobara/fix/helm_liveness_readiness
FIX Helm: Templates, Liveness and Readiness probes
2 parents d2a9085 + 71e801d commit 065ded3

File tree

9 files changed

+4
-2
lines changed

9 files changed

+4
-2
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

deploy/postgresus/helm/statefulset.yaml renamed to deploy/helm/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 }}
File renamed without changes.

0 commit comments

Comments
 (0)