Deploy releases/k8s-manifests ad4db8b#140
Merged
Merged
Conversation
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>
fix(cnpg): use PG 18 PostGIS+pgvector image on shared-cluster
Author
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
kubectl diffreports that applying ad4db8b will change:diff too big; review locally