Skip to content

Commit

Permalink
fix(cnpg): immediate is boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Sep 19, 2023
1 parent aa26e37 commit b3f1245
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/cnpg-cluster/templates/scheduledbackup.cnpg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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:
Expand Down

0 comments on commit b3f1245

Please sign in to comment.