change method
This commit is contained in:
@@ -37,7 +37,12 @@ bootstrap:
|
||||
{{- end }}
|
||||
{{- else if eq .Values.mode "replica" }}
|
||||
initdb:
|
||||
database: jellyplist
|
||||
{{- with .Values.replica.importDatabaseName }}
|
||||
database: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.replica.importOwner }}
|
||||
owner: {{ . }}
|
||||
{{- end }}
|
||||
import:
|
||||
type: {{ .Values.replica.importType }}
|
||||
databases:
|
||||
|
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user