Skip to content

feat(demo): deploy the image catalog with common extensions by default#90

Open
gbartolini wants to merge 2 commits into
dev/requirements-onlyfrom
dev/89
Open

feat(demo): deploy the image catalog with common extensions by default#90
gbartolini wants to merge 2 commits into
dev/requirements-onlyfrom
dev/89

Conversation

@gbartolini

Copy link
Copy Markdown
Contributor

Closes #89

@gbartolini gbartolini requested a review from a team as a code owner July 12, 2026 00:31
Apply the cloudnative-pg/artifacts ClusterImageCatalog
(catalog-minimal-trixie.yaml) in every region alongside the CNPG operator,
providing common extensions (pgvector, PostGIS, TimescaleDB, pgaudit,
wal2json, pg-crash) out of the box. Closes #89.

Add `IMAGE_CATALOG_URL`/`IMAGE_CATALOG_NAME` to select the catalog, and
`POSTGRESQL_VERSION` to pick the PostgreSQL major from it. In plugin mode,
the Cluster now selects its image via `spec.imageCatalogRef` (rendered from
the new `demo/templates/image-catalog.yaml` fragment) instead of a fixed
`POSTGRESQL_IMAGE`. Legacy mode is unaffected — the catalog only ships
minimal images, so `demo/templates/legacy/image-legacy.yaml` keeps a direct
`imageName: ${POSTGRESQL_LEGACY_IMAGE}` reference.

`demo/teardown.sh` removes the catalog alongside the other requirements.

Closes #89

Assisted-by: Claude

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Split spec.storage/spec.walStorage out of demo/templates/cluster.yaml into
a dedicated demo/templates/storage.yaml, overridable via STORAGE_TEMPLATE.
It's shared unchanged by both plugin and legacy modes — unlike the image
reference, storage sizing doesn't diverge between them — but PVC sizing is
one of the most commonly tweaked settings, so it earns its own fragment
following the same one-concern-per-file convention as the other templates.

Assisted-by: Claude

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
@gbartolini gbartolini changed the base branch from main to dev/requirements-only July 12, 2026 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deploy the image extensions catalog in the demo

1 participant