feat: support required extensions#78
Merged
mnencia merged 3 commits intocloudnative-pg:mainfrom Feb 2, 2026
Merged
Conversation
85c3690 to
0c388d6
Compare
0c388d6 to
c994428
Compare
Signed-off-by: Matteo <matteo.biagetti@enterprisedb.com>
c994428 to
c75a070
Compare
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
NiccoloFei
approved these changes
Jan 28, 2026
GabriFedi97
suggested changes
Feb 2, 2026
Contributor
There was a problem hiding this comment.
I see we are not adding all the extensions defined as dependencies when we create the Database CR in the automated tests. CNPG doesn't create the extensions with the CASCADE option so all the required extensions need to be explicitly created beforehand.
Co-authored-by: Gabriele Fedi <gabriele.fedi@enterprisedb.com> Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Contributor
This will be added as part of #92, given that in #92 we are adding an adhoc field in the |
GabriFedi97
approved these changes
Feb 2, 2026
mnencia
approved these changes
Feb 2, 2026
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.
initial support for extensions dependencies
introduce a new field in the metadata spec to define a list of required extensions
supposing a metadata file like
the command
generate-testing-valuescommand will generate the proper extensions likedagger \ call \ -m ./dagger/maintenance/ \ generate-testing-values --target pgrouting --extension-image ghcr.io/cloudnative-pg/pgrouting:4.0.0-18-bookworm export --path=pgrouting/values.yamlcloses #18