Compare commits

...

2 Commits

Author SHA1 Message Date
275fcd8568 use cluster values 2024-12-21 23:26:40 -06:00
158d4ca676 change method 2024-12-21 23:22:34 -06:00
4 changed files with 6 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: postgres-cluster
version: 3.20.5
version: 3.20.7
description: Chart for cloudnative-pg cluster
keywords:
- database

View File

@@ -37,7 +37,10 @@ bootstrap:
{{- end }}
{{- else if eq .Values.mode "replica" }}
initdb:
database: jellyplist
{{- with .Values.cluster.initdb }}
{{- with (omit . "postInitApplicationSQL") }}
{{- . | toYaml | nindent 4 }}
{{- end }}
import:
type: {{ .Values.replica.importType }}
databases:

View File

@@ -60,4 +60,5 @@ spec:
enablePodMonitor: {{ and .Values.cluster.monitoring.enabled .Values.cluster.monitoring.podMonitor.enabled }}
{{ include "cluster.bootstrap" . | nindent 2 }}
{{ include "cluster.backup" . | nindent 2 }}

View File

@@ -139,9 +139,6 @@ replica:
importDatabases:
- app
# If type microservice select the name for the imported database.
importDatabaseName: app
# If type microservice no roles are imported and ignored
importRoles: []