Compare commits

...

2 Commits

Author SHA1 Message Date
1ac9444bb2 fix condition flow 2024-12-21 23:29:50 -06:00
275fcd8568 use cluster values 2024-12-21 23:26:40 -06:00
3 changed files with 4 additions and 11 deletions

View File

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

View File

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

View File

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