Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

fixing liveness and readiness probes

Tyler Obaraffd4e3a27b04
diff --git a/deploy/postgresus/helm/_helpers.tpl b/deploy/postgresus/templates/_helpers.tpl
similarity index 100%
rename from deploy/postgresus/helm/_helpers.tpl
rename to deploy/postgresus/templates/_helpers.tpl
diff --git a/deploy/postgresus/helm/ingress.yaml b/deploy/postgresus/templates/ingress.yaml
similarity index 100%
rename from deploy/postgresus/helm/ingress.yaml
rename to deploy/postgresus/templates/ingress.yaml
diff --git a/deploy/postgresus/helm/namespace.yaml b/deploy/postgresus/templates/namespace.yaml
similarity index 100%
rename from deploy/postgresus/helm/namespace.yaml
rename to deploy/postgresus/templates/namespace.yaml
diff --git a/deploy/postgresus/helm/service.yaml b/deploy/postgresus/templates/service.yaml
similarity index 100%
rename from deploy/postgresus/helm/service.yaml
rename to deploy/postgresus/templates/service.yaml
diff --git a/deploy/postgresus/helm/statefulset.yaml b/deploy/postgresus/templates/statefulset.yaml
similarity index 94%
rename from deploy/postgresus/helm/statefulset.yaml
rename to deploy/postgresus/templates/statefulset.yaml
index c5f982af..4200963e 100644
--- a/deploy/postgresus/helm/statefulset.yaml
+++ b/deploy/postgresus/templates/statefulset.yaml
@@ -50,7 +50,8 @@ spec:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.livenessProbe.enabled }}
livenessProbe:
- {{- toYaml .Values.livenessProbe.httpGet | nindent 12 }}
+ httpGet:
+ {{- toYaml .Values.livenessProbe.httpGet | nindent 14 }}
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
@@ -58,7 +59,8 @@ spec:
{{- end }}
{{- if .Values.readinessProbe.enabled }}
readinessProbe:
- {{- toYaml .Values.readinessProbe.httpGet | nindent 12 }}
+ httpGet:
+ {{- toYaml .Values.readinessProbe.httpGet | nindent 14 }}
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}