cozystack/packages
IvanHunters a0ddacd037 feat(postgres): add centralized ClusterImageCatalog with CNPG operator
Protect system PostgreSQL databases from automatic major version upgrades
by introducing centralized ClusterImageCatalog resources based on official
CNPG artifacts repository.

Changes:
- Add two ClusterImageCatalog resources (bookworm and trixie OS variants)
- Based on CNPG official standard images with PostgreSQL 13-17 support
- PostgreSQL 18 excluded to prevent auto-upgrades
- Replace hardcoded imageName with imageCatalogRef in all system databases
- Add Makefile target 'update-image-catalogs' for automated catalog updates

System components using catalogs:
- keycloak-db → postgresql-bookworm major 17
- harbor-db → postgresql-bookworm major 17
- grafana-db → postgresql-bookworm major 17
- alerta-db → postgresql-bookworm major 17
- seaweedfs-db → postgresql-bookworm major 17

Benefits:
- Catalogs deploy with operator, always available before cluster changes
- Standard images include additional extensions (pgaudit, etc.)
- Support for both Debian bookworm and trixie
- Automated updates via 'make update-image-catalogs'
- Changes propagate through OCIRepo without manual migrations

Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>
2026-04-06 15:21:45 +03:00
..
apps fix(kubernetes): set explicit ephemeral-storage on virt-launcher pods 2026-03-31 12:48:07 +02:00
core feat(postgres): hardcode PostgreSQL 17 for monitoring and add migration 2026-03-31 00:46:47 +03:00
extra Prepare release v1.2.0 2026-03-27 14:00:46 +00:00
library [cozy-lib] Add a hexToInt helper 2026-03-19 07:29:50 +03:00
system feat(postgres): add centralized ClusterImageCatalog with CNPG operator 2026-04-06 15:21:45 +03:00
tests/cozy-lib-tests refactor: replace Helm lookup with valuesFrom mechanism 2026-01-05 16:10:55 +01:00