Compare commits

...

2 Commits

Author SHA1 Message Date
93d2f916fb use value for name 2024-12-21 22:53:59 -06:00
b1a6a2fd39 remove condition 2024-12-21 22:46:17 -06:00
3 changed files with 5 additions and 4 deletions

View File

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

View File

@@ -37,9 +37,7 @@ bootstrap:
{{- end }} {{- end }}
{{- else if eq .Values.mode "replica" }} {{- else if eq .Values.mode "replica" }}
initdb: initdb:
{{- if eq .Values.replica.importType "microservice" }} database: {{ .Values.replica.importDatabaseName }}
database: {{ first .Values.replica.importDatabases }}
{{- end }}
import: import:
type: {{ .Values.replica.importType }} type: {{ .Values.replica.importType }}
databases: databases:

View File

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