mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-06 03:57:52 +09:00
The operator image is pinned to 1.27.3 while the vendored chart and CRDs still advertise 1.27.1. Kubernetes prunes Backup status.instanceID.sessionID, causing false instance-manager restart failures. Import the official 1.27.3 CRDs, align the chart appVersion, and preserve the overlay across make update. Add render and API round-trip regression coverage. Assisted-By: GPT-5 <noreply@openai.com> Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
16 lines
409 B
Makefile
16 lines
409 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.26.1
|
|
rm -rf charts/cloudnative-pg/charts
|
|
patch --no-backup-if-mismatch -p4 < patches/cloudnative-pg-1.27.3.patch
|