From 4e3011112990f42765538974f07466a975956e56 Mon Sep 17 00:00:00 2001 From: Vince Tse Date: Fri, 2 Feb 2024 23:55:59 -0800 Subject: [PATCH] liveness probe --- developing/postgres/Chart.yaml | 2 +- developing/postgres/templates/statefulset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/developing/postgres/Chart.yaml b/developing/postgres/Chart.yaml index a7ff961..d545845 100644 --- a/developing/postgres/Chart.yaml +++ b/developing/postgres/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.0 +version: 0.2.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/developing/postgres/templates/statefulset.yaml b/developing/postgres/templates/statefulset.yaml index 99a509f..fa23054 100644 --- a/developing/postgres/templates/statefulset.yaml +++ b/developing/postgres/templates/statefulset.yaml @@ -48,7 +48,7 @@ spec: livenessProbe: exec: command: - - pg_isready + - pg_isready --username={{ .Values.postgres.user }} --hostname=127.0.0.1 --dbname={{ .Values.postgres.db }} initialDelaySeconds: 120 periodSeconds: 30