From 747a1745e9a4d715977296f20f85b3f15329948a Mon Sep 17 00:00:00 2001 From: IvanHunters Date: Thu, 2 Apr 2026 18:51:19 +0300 Subject: [PATCH 1/2] fix(postgres): revert default PostgreSQL version to v17 The v1.2.0 release introduced PostgreSQL v18 as default, which causes compatibility issues with existing v17 installations. This change: - Sets default version back to v17 in values.yaml and schema - Adjusts migration targetVersion to 38 to enable migration 37 - Migration 37 backfills version field for existing installations This ensures existing PostgreSQL clusters continue working after upgrade. Signed-off-by: IvanHunters --- packages/apps/postgres/values.schema.json | 2 +- packages/apps/postgres/values.yaml | 2 +- packages/core/platform/values.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/apps/postgres/values.schema.json b/packages/apps/postgres/values.schema.json index b2a4aeba..42118ebe 100644 --- a/packages/apps/postgres/values.schema.json +++ b/packages/apps/postgres/values.schema.json @@ -81,7 +81,7 @@ "version": { "description": "PostgreSQL major version to deploy", "type": "string", - "default": "v18", + "default": "v17", "enum": [ "v18", "v17", diff --git a/packages/apps/postgres/values.yaml b/packages/apps/postgres/values.yaml index b8f07f63..ff99f826 100644 --- a/packages/apps/postgres/values.yaml +++ b/packages/apps/postgres/values.yaml @@ -43,7 +43,7 @@ external: false ## @value v13 ## @param {Version} version - PostgreSQL major version to deploy -version: v18 +version: v17 ## @section Application-specific parameters ## diff --git a/packages/core/platform/values.yaml b/packages/core/platform/values.yaml index c9af0e5e..bc8bfd7d 100644 --- a/packages/core/platform/values.yaml +++ b/packages/core/platform/values.yaml @@ -5,8 +5,8 @@ sourceRef: path: / migrations: enabled: false - image: ghcr.io/cozystack/cozystack/platform-migrations:v1.2.0@sha256:3a3d8cfa4323d8023b7c7800d8b552b250bc2de01ca7550fd024a10b12324f6d - targetVersion: 37 + image: ghcr.io/cozystack/cozystack/platform-migrations:v1.2.1@sha256:e8fcf006a4451fc0e961455e9b27a61b7103ee49b1a81fe5e4662ffed093fad6 + targetVersion: 38 # Migration 37 will run (seq CURRENT to TARGET-1) # Bundle deployment configuration bundles: system: From 573e7b19bcdbdcb98a355d3c728bd8c86f5b159f Mon Sep 17 00:00:00 2001 From: IvanHunters Date: Thu, 2 Apr 2026 18:55:02 +0300 Subject: [PATCH 2/2] chore: remove inline comment from targetVersion Signed-off-by: IvanHunters --- packages/core/platform/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/platform/values.yaml b/packages/core/platform/values.yaml index bc8bfd7d..77eb00d7 100644 --- a/packages/core/platform/values.yaml +++ b/packages/core/platform/values.yaml @@ -6,7 +6,7 @@ sourceRef: migrations: enabled: false image: ghcr.io/cozystack/cozystack/platform-migrations:v1.2.1@sha256:e8fcf006a4451fc0e961455e9b27a61b7103ee49b1a81fe5e4662ffed093fad6 - targetVersion: 38 # Migration 37 will run (seq CURRENT to TARGET-1) + targetVersion: 38 # Bundle deployment configuration bundles: system: