diff --git a/charts/cnpg-cluster/templates/scheduledbackup.cnpg.yaml b/charts/cnpg-cluster/templates/scheduledbackup.cnpg.yaml index 59b812f..2014ed3 100644 --- a/charts/cnpg-cluster/templates/scheduledbackup.cnpg.yaml +++ b/charts/cnpg-cluster/templates/scheduledbackup.cnpg.yaml @@ -10,5 +10,5 @@ spec: cluster: name: {{ include "cnpg-cluster.fullname" $ }} schedule: "{{ .Values.backup.schedule }}" - immediate: "{{ (or .Values.backup.immediate "true") }}" + immediate: {{ .Values.backup.immediate }} {{- end }} diff --git a/charts/cnpg-cluster/tests/__snapshot__/cnpg-cluster_test.yaml.snap b/charts/cnpg-cluster/tests/__snapshot__/cnpg-cluster_test.yaml.snap index 266b82c..cb0b6a9 100644 --- a/charts/cnpg-cluster/tests/__snapshot__/cnpg-cluster_test.yaml.snap +++ b/charts/cnpg-cluster/tests/__snapshot__/cnpg-cluster_test.yaml.snap @@ -120,7 +120,7 @@ cluster with enabled backup and recovery: backupOwnerReference: self cluster: name: RELEASE-NAME-cnpg-cluster - immediate: "true" + immediate: true schedule: 1 2 3 * * 0 cluster with monitoring: 1: | @@ -133,7 +133,7 @@ cluster with monitoring: app.kubernetes.io/name: cnpg-cluster app.kubernetes.io/version: "15" cnpg.io/poolerName: RELEASE-NAME-cnpg-cluster-rw - helm.sh/chart: cnpg-cluster-1.12.2 + helm.sh/chart: cnpg-cluster-1.12.3 name: RELEASE-NAME-cnpg-cluster-rw spec: cluster: