Commit 45b7a4c
fix(cnpg): switch shared-cluster to PG 18 with PostGIS + pgvector image
The Cluster CR was being rejected by the cnpg validating webhook:
spec.postgresql.parameters.shared_preload_libraries: Invalid value: "vector":
Can't set fixed configuration parameter
Two issues with that field: cnpg manages shared_preload_libraries itself
(it's a "fixed" parameter), and the user-facing field is at
spec.postgresql.shared_preload_libraries (top-level array), not under
parameters. pgvector doesn't actually require preloading — it loads on
CREATE EXTENSION — so dropping the line entirely.
Switch the operand image to ghcr.io/cloudnative-pg/postgis:18-3-system-trixie,
the cnpg-maintained image that bundles PostGIS, pgvector, pgaudit, and
barman-cloud (for backups). Bump the cnpg helm chart from v0.23.1
(operator 1.25.0) to v0.28.0 (operator 1.29.0) — required because PG 18
needs cnpg ≥ 1.26. Validated with `kubectl diff` against the current
1.25 webhook (exit 0, spec accepted).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 45ebb5c commit 45b7a4c
2 files changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
0 commit comments