Skip to content

Conversation

@P-Louw
Copy link

@P-Louw P-Louw commented Nov 4, 2025

DocumentDB is a postgrsql based db used for cosmosdb with mongodb and postgresql query support. Earlier this year it went open-source and I am currently using it for a work project where we rollout documentdb with cnpg.

All in all a good replacement for mongodb with various supporters and users.

Adding DocumetnDB to support mongodb workloads changes:

  • Add 'documentdb' database type to values.yaml
  • Configure DocumentDB image (ghcr.io/ferretdb/postgres-documentdb)
  • Add extensions: documentdb, pg_cron
  • Configure shared_preload_libraries
  • Support various ferretdb auth methods

Tests:

  • Extension installation validation
  • MongoDB client connectivity via mongosh
  • CRUD operations with BSON data types
  • Backup/restore and PITR functionality

@P-Louw P-Louw requested a review from itay-grudev as a code owner November 4, 2025 21:43
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. chart( cluster ) Related to the cluster chart labels Nov 4, 2025
This adds comprehensive permission grants to the DocumentDB extension schemas (documentdb_api, documentdb_core, documentdb_api_catalog, documentdb_api_internal, documentdb_data) for the
 app owner during bootstrap initialization.

Signed-off-by: P-Louw <[email protected]>
@P-Louw P-Louw force-pushed the DocumentDB_dbtype_support branch from 4bf11aa to 7ae4273 Compare November 4, 2025 21:48
@P-Louw P-Louw changed the title Document db dbtype support DocumentDB dbtype support Nov 4, 2025
@P-Louw P-Louw marked this pull request as draft November 4, 2025 22:21
@P-Louw P-Louw force-pushed the DocumentDB_dbtype_support branch from 56285c0 to f9208b6 Compare November 5, 2025 09:17
@P-Louw P-Louw marked this pull request as ready for review November 5, 2025 09:17
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. and removed size:XL This PR changes 500-999 lines, ignoring generated files. labels Nov 5, 2025
@P-Louw P-Louw marked this pull request as draft November 11, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chart( cluster ) Related to the cluster chart size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant