Skip to content

NGLASS-2330 fix: Render CloudNativePG application bootstrap SQL - #903

Closed
afonsobspinto wants to merge 1 commit into
developfrom
codex/NGLASS-2330-cnpg-bootstrap-sql
Closed

afonsobspinto wants to merge 1 commit into
developfrom
codex/NGLASS-2330-cnpg-bootstrap-sql

Conversation

@afonsobspinto

Copy link
Copy Markdown
Member

CloudHarness currently drops harness.database.postgres.postInitApplicationSQL from the generated CloudNativePG Cluster. CATMAID declares extensions and an ingestion privilege in that field, so the database needs manual setup when the chart omits it.

Forward the optional list to spec.bootstrap.initdb.postInitApplicationSQL, preserving statement order and multiline SQL. CloudNativePG runs it in the application database during initial bootstrap. Operators apply grants separately to existing clusters.

Validation: 50 CloudHarness Helm tests passed. A generated MNP dev chart included the expected SQL for both CATMAID instances.

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