remove bool for backups
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 20s
renovate / renovate (push) Successful in 40s

This commit is contained in:
2025-10-02 21:20:46 -05:00
parent e09e2ba56f
commit 227c0db540
5 changed files with 4 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
{{ if and (.Values.backup.enabled) (eq .Values.backup.method "objectStore") }}
{{ if (eq .Values.backup.method "objectStore") }}
{{ $context := . -}}
{{ range .Values.backup.objectStore -}}
---

View File

@@ -1,4 +1,3 @@
{{ if .Values.backup.enabled }}
{{ $context := . -}}
{{ range .Values.backup.scheduledBackups -}}
---
@@ -22,4 +21,3 @@ spec:
parameters:
barmanObjectName: "{{ include "cluster.name" $context }}-{{ .backupName }}-backup"
{{ end -}}
{{ end }}