Skip to content

Commit 443df4b

Browse files
committed
fix(postgres-operator): pin CNPG operator image to 1.28.2 for PVC resize-deadlock fix
cloudnative-pg#9980 / #9981 is operator-code only (no CRD change) and first shipped in operator 1.28.2. Upstream publishes a chart per minor .0/.1, so 1.28.2 has no chart; pin the image within the 1.28 line, keeping the vendored chart (CRDs 1.28.1) untouched. Verified #3479-safe: across the 1.28 patch line the backups CRD schema is unchanged and the clusters CRD only gains additive spec fields. Backportable to release-1.6 as-is. Signed-off-by: Alexey Artamonov <[email protected]>
1 parent 10554f9 commit 443df4b

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

‎packages/system/postgres-operator/values.yaml‎

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
cloudnative-pg:
22
crds:
33
create: true
4-
# Image tag intentionally left to the chart's appVersion (1.28.1). Do NOT pin
5-
# image.tag to a version the vendored chart's CRDs don't match: an operator
6-
# newer than its CRDs writes status fields the CRD prunes (e.g.
7-
# status.instanceID.sessionID, added in CNPG 1.27.3), which makes the operator
8-
# believe the instance manager restarted and fail EVERY backup cluster-wide
9-
# ("instance manager was restarted during backup"). Bump the chart version in
10-
# the Makefile to move the operator + CRDs together.
4+
# Pinned to 1.28.2 (same minor as the vendored chart's appVersion 1.28.1) to pick up
5+
# the PVC resize-deadlock fix (cloudnative-pg#9980 / #9981), which landed in the operator
6+
# binary in 1.28.2 and needs no CRD change. Upstream publishes a chart only per minor
7+
# .0/.1, so 1.28.2 has no chart and the fix is unreachable via a chart bump on the 1.28 line.
8+
#
9+
# A same-minor pin is #3479-safe: an operator newer than its CRDs is dangerous only when
10+
# it writes status fields the CRD prunes (e.g. status.instanceID.sessionID, added in CNPG
11+
# 1.27.3 over 1.27.1 CRDs). Across the 1.28 patch line the backups CRD schema is unchanged
12+
# (only the controller-gen annotation differs) and the clusters CRD only gains additive
13+
# spec fields - no new status fields to prune. Any CROSS-minor bump must instead raise the
14+
# chart version in the Makefile so the operator and CRDs advance together.
15+
image:
16+
tag: "1.28.2"
1117

1218
# CloudNativePG Barman Cloud Plugin (github.com/cloudnative-pg/plugin-barman-cloud).
1319
# Native spec.backup.barmanObjectStore is deprecated in CNPG 1.27 and removed in 1.29,

0 commit comments

Comments
 (0)