mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-04 19:17:20 +09:00
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 <aleksei.artamonov@aenix.io>
18 lines
529 B
Makefile
18 lines
529 B
Makefile
export NAME=postgres-operator
|
|
export NAMESPACE=cozy-$(NAME)
|
|
|
|
include ../../../hack/package.mk
|
|
|
|
test:
|
|
helm unittest .
|
|
|
|
update:
|
|
rm -rf charts
|
|
helm repo add cnpg https://cloudnative-pg.github.io/charts
|
|
helm repo update cnpg
|
|
helm pull cnpg/cloudnative-pg --untar --untardir charts --version 0.27.1
|
|
rm -rf charts/cloudnative-pg/charts
|
|
patch --no-backup-if-mismatch -p4 < patches/cloudnative-pg-1.28.2.patch
|
|
helm pull cnpg/plugin-barman-cloud --untar --untardir charts --version 0.7.0
|
|
rm -rf charts/plugin-barman-cloud/charts
|