Skip to content

Commit bcb3626

Browse files
committed
fix(postgres-operator): align CNPG operator and CRDs to 1.28.2 for PVC resize-deadlock fix
Raises the CloudNativePG operator image and its CRDs together to 1.28.2, which carries the PVC resize-deadlock fix (cloudnative-pg#9980 / #9981): after a simultaneous resources+size change the operator deletes the sole primary Pod, leaves the PVC in the resizing class, and never recreates the Pod, wedging the cluster. Upstream publishes a chart only per minor .0/.1, so there is no 1.28.2 chart on the 1.28 line. Following #3526/#3528, patches/cloudnative-pg-1.28.2.patch (applied by make update) raises the vendored chart's appVersion and CRDs from 1.28.1 to 1.28.2 in lockstep; the operator image follows appVersion, so no image.tag pin. Verified #3479-safe: no CRD status field changes between 1.28.1 and 1.28.2 (only the extensions spec grows). Backportable to release-1.6. Signed-off-by: Alexey Artamonov <[email protected]>
1 parent 10554f9 commit bcb3626

6 files changed

Lines changed: 734 additions & 23 deletions

File tree

‎packages/system/postgres-operator/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ update:
1212
helm repo update cnpg
1313
helm pull cnpg/cloudnative-pg --untar --untardir charts --version 0.27.1
1414
rm -rf charts/cloudnative-pg/charts
15+
patch --no-backup-if-mismatch -p4 < patches/cloudnative-pg-1.28.2.patch
1516
helm pull cnpg/plugin-barman-cloud --untar --untardir charts --version 0.7.0
1617
rm -rf charts/plugin-barman-cloud/charts

‎packages/system/postgres-operator/charts/cloudnative-pg/Chart.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
appVersion: 1.28.1
2+
appVersion: 1.28.2
33
dependencies:
44
- alias: monitoring
55
condition: monitoring.grafanaDashboard.create

0 commit comments

Comments
 (0)