Skip to content

feat(demo): allow deploying CNPG requirements independently of clusters#87

Open
gbartolini wants to merge 1 commit into
mainfrom
dev/requirements-only
Open

feat(demo): allow deploying CNPG requirements independently of clusters#87
gbartolini wants to merge 1 commit into
mainfrom
dev/requirements-only

Conversation

@gbartolini

Copy link
Copy Markdown
Contributor

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

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>
@gbartolini
gbartolini requested a review from a team as a code owner July 8, 2026 22:38
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.

1 participant