fix plugins range
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 23s
renovate / renovate (push) Successful in 49s

This commit is contained in:
2025-10-23 20:21:19 -05:00
parent 0a18610132
commit 1df6be47bf
3 changed files with 8 additions and 4 deletions

View File

@@ -19,11 +19,15 @@ spec:
{{- end }}
postgresUID: {{ include "cluster.postgresUID" . }}
postgresGID: {{ include "cluster.postgresGID" . }}
{{- range $objectStore := .Values.backup.objectStore }}
plugins:
{{- range $objectStore := .Values.backup.objectStore }}
- name: barman-cloud.cloudnative-pg.io
enabled: true
isWALArchiver: {{ $objectStore.isWALArchiver | default true }}
{{- if $objectStore.isWALArchiver }}
isWALArchiver: true
{{- else }}
isWALArchiver: false
{{- end }}
parameters:
barmanObjectName: "{{ include "cluster.name" $ }}-{{ $objectStore.name }}-backup"
{{- if $objectStore.clusterName }}