Skip to content

Commit e30c7e8

Browse files
only render plugin field of postgresql cluster if backup is enabled in the values (#391)
* only render plugin field of postgresql cluster if backup is enabled in the values * simplify enabling of backup on cluster
1 parent a7ff40f commit e30c7e8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Only render plugin field of postgresql cluster if backup is enabled in the values.
13+
1014
## [2.28.1] - 2025-12-03
1115

1216
### Fixed

helm/grafana/templates/cnpg/cluster.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ spec:
3535
{{- end }}
3636
plugins:
3737
- name: barman-cloud.cloudnative-pg.io
38+
enabled: {{ .Values.postgresqlCluster.backup.enabled }}
3839
isWALArchiver: true
3940
parameters:
4041
barmanObjectName: {{ .Values.postgresqlCluster.name }}-objectstore-backup

0 commit comments

Comments
 (0)