feat(postgres): hardcode PostgreSQL 17 for monitoring and add migration by IvanHunters · Pull Request #2304 · cozystack/cozystack

@IvanHunters

Add migration 37 to backfill spec.version=v17 for existing PostgreSQL
resources without a version set.

Hardcode PostgreSQL 17.7 image in monitoring databases (Grafana and Alerta)
to ensure compatibility with monitoring queries that expect PostgreSQL 17
features (pg_stat_checkpointer, updated pg_stat_bgwriter).

Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>

gemini-code-assist[bot]

coderabbitai[bot]

@IvanHunters

Add explicit PostgreSQL 17.7 image to Harbor, SeaweedFS, and Keycloak
databases to ensure consistent version across all system components.

Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>

@dosubot dosubot bot added the lgtm

This PR has been approved by a maintainer

label

Mar 31, 2026

sircthulhu

@kvaps kvaps added the backport

Should change be backported on previus release

label

Mar 31, 2026

kvaps added a commit that referenced this pull request

Mar 31, 2026
…itoring and add migration (#2309)

# Description
Backport of #2304 to `release-1.2`.