From 323867e089b8d880fc62020c0c11da82864195d2 Mon Sep 17 00:00:00 2001 From: Yash Mehrotra Date: Thu, 4 Apr 2024 13:21:21 +0530 Subject: [PATCH] fix: sslmode for default database setup --- chart/templates/postgres-secret.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/templates/postgres-secret.yaml b/chart/templates/postgres-secret.yaml index 5fd74f392..2186e9ad6 100644 --- a/chart/templates/postgres-secret.yaml +++ b/chart/templates/postgres-secret.yaml @@ -15,7 +15,7 @@ stringData: {{- $password := (( get $secretInj "POSTGRES_PASSWORD" ) | b64dec ) | default (( get $secretObj "POSTGRES_PASSWORD" ) | b64dec ) | default ( randAlphaNum 32 ) }} {{- $host := print "postgres." .Release.Namespace ".svc.cluster.local" }} {{- $url := print "postgresql://" $user ":" $password "@" $host }} - {{- $canaryCheckerUrl := ( get $secretObj .Values.db.external.secretKeyRef.key ) | default ( print $url "/canarychecker" ) }} + {{- $canaryCheckerUrl := ( get $secretObj .Values.db.external.secretKeyRef.key ) | default ( print $url "/canarychecker?sslmode=disable" ) }} POSTGRES_USER: {{ $user | quote }} POSTGRES_PASSWORD: {{ $password | quote }} POSTGRES_HOST: {{ $host | quote }}