use different function
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: postgres-cluster
|
name: postgres-cluster
|
||||||
version: 3.20.1
|
version: 3.20.2
|
||||||
description: Chart for cloudnative-pg cluster
|
description: Chart for cloudnative-pg cluster
|
||||||
keywords:
|
keywords:
|
||||||
- database
|
- database
|
||||||
|
@@ -38,9 +38,7 @@ bootstrap:
|
|||||||
{{- else if eq .Values.mode "replica" }}
|
{{- else if eq .Values.mode "replica" }}
|
||||||
initdb:
|
initdb:
|
||||||
{{- if eq .Values.replica.importType "microservice" }}
|
{{- if eq .Values.replica.importType "microservice" }}
|
||||||
{{- with index .Values.replica.importDatabases 0 }}
|
database: {{ first .Values.replica.importDatabases }}
|
||||||
database: {{- . | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
import:
|
import:
|
||||||
type: {{ .Values.replica.importType }}
|
type: {{ .Values.replica.importType }}
|
||||||
|
Reference in New Issue
Block a user