From 51e26f86c6110639d155b862baf7c173f3ec7580 Mon Sep 17 00:00:00 2001 From: Enis Afgan Date: Mon, 10 Mar 2025 17:58:07 -0400 Subject: [PATCH] For single-node instances disable PDB --- galaxy/templates/hapostgres/pgcluster.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/galaxy/templates/hapostgres/pgcluster.yaml b/galaxy/templates/hapostgres/pgcluster.yaml index ac9dde9b..f067eba6 100644 --- a/galaxy/templates/hapostgres/pgcluster.yaml +++ b/galaxy/templates/hapostgres/pgcluster.yaml @@ -8,6 +8,9 @@ metadata: namespace: {{ .Release.Namespace }} spec: instances: {{ default "1" .Values.postgresql.instances }} + {{- if or (not .Values.postgresql.instances) (eq (toString .Values.postgresql.instances) "1") }} + enablePDB: false + {{- end }} bootstrap: initdb: database: galaxy