Compare commits
4 Commits
postgres-c
...
postgres-c
Author | SHA1 | Date | |
---|---|---|---|
158d4ca676 | |||
32e232d8e2 | |||
93d2f916fb | |||
b1a6a2fd39 |
@@ -1,6 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: postgres-cluster
|
||||
version: 3.20.2
|
||||
version: 3.20.6
|
||||
description: Chart for cloudnative-pg cluster
|
||||
keywords:
|
||||
- database
|
||||
|
@@ -37,8 +37,11 @@ bootstrap:
|
||||
{{- end }}
|
||||
{{- else if eq .Values.mode "replica" }}
|
||||
initdb:
|
||||
{{- if eq .Values.replica.importType "microservice" }}
|
||||
database: {{ first .Values.replica.importDatabases }}
|
||||
{{- with .Values.replica.importDatabaseName }}
|
||||
database: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.replica.importOwner }}
|
||||
owner: {{ . }}
|
||||
{{- end }}
|
||||
import:
|
||||
type: {{ .Values.replica.importType }}
|
||||
|
@@ -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 }}
|
||||
|
@@ -139,6 +139,12 @@ 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: []
|
||||
|
||||
|
Reference in New Issue
Block a user