feat(demo): allow deploying CNPG requirements independently of clusters#87
Open
gbartolini wants to merge 1 commit into
Open
feat(demo): allow deploying CNPG requirements independently of clusters#87gbartolini wants to merge 1 commit into
gbartolini wants to merge 1 commit into
Conversation
Add `REQUIREMENTS_ONLY=true` to `demo/setup.sh` so the CNPG operator, cert-manager, and Barman Cloud Plugin can be installed per region without also creating ObjectStores/Clusters. A later plain `demo/setup.sh` run now detects already-installed requirements and skips reinstalling them instead of hard-failing and telling the user to run `demo/teardown.sh` first. Extract the requirement-deployment logic into `demo/funcs_requirements.sh` (`deploy_cnpg_requirements()`, `check_crd_existence()`), mirroring the `scripts/funcs_regions.sh` sourced-helper pattern, so `demo/setup.sh`'s per-region loop stays focused on orchestration. Assisted-by: Claude Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
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.
Add
REQUIREMENTS_ONLY=truetodemo/setup.shso the CNPG operator, cert-manager, and Barman Cloud Plugin can be installed per region without also creating ObjectStores/Clusters. A later plaindemo/setup.shrun now detects already-installed requirements and skips reinstalling them instead of hard-failing and telling the user to rundemo/teardown.shfirst.Extract the requirement-deployment logic into
demo/funcs_requirements.sh(deploy_cnpg_requirements(),check_crd_existence()), mirroring thescripts/funcs_regions.shsourced-helper pattern, sodemo/setup.sh's per-region loop stays focused on orchestration.Assisted-by: Claude