Compare commits

...

7 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
158d4ca676 change method 2024-12-21 23:22:34 -06:00
32e232d8e2 force hardcoded value for testing 2024-12-21 23:08:17 -06:00
93d2f916fb use value for name 2024-12-21 22:53:59 -06:00
b1a6a2fd39 remove condition 2024-12-21 22:46:17 -06:00
d3307d4f70 use different function 2024-12-21 22:39:52 -06:00
3 changed files with 5 additions and 4 deletions

View File

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

View File

@@ -37,9 +37,9 @@ bootstrap:
{{- end }}
{{- else if eq .Values.mode "replica" }}
initdb:
{{- if eq .Values.replica.importType "microservice" }}
{{- with index .Values.replica.importDatabases 0 }}
database: {{- . | quote }}
{{- with .Values.cluster.initdb }}
{{- with (omit . "postInitApplicationSQL") }}
{{- . | toYaml | nindent 4 }}
{{- end }}
{{- end }}
import:

View File

@@ -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 }}