Skip to content

add documentdb create UI wizard#1054

Open
Sourav-Kumar-19 wants to merge 5 commits into
masterfrom
feature/documentdb-create-ui
Open

add documentdb create UI wizard#1054
Sourav-Kumar-19 wants to merge 5 commits into
masterfrom
feature/documentdb-create-ui

Conversation

@Sourav-Kumar-19

Copy link
Copy Markdown
Contributor

Implements kubedbcom-documentdb-editor-options/ui with:

  • create-ui.yaml: full single-step form covering version, mode (Standalone/ReplicaSet), replicas, machine profile, storage, auth credentials, custom configuration, point-in-time recovery, deployment/cluster tier, monitoring, backup, archiver, TLS, and gateway exposure — consistent with MongoDB/MySQL/Postgres/Redis patterns
  • functions.js: all business logic (initBundle, machine profile handling, feature toggles, storage class selection, auth handling, archiver, point-in-time recovery) adapted for DocumentDB-specific modes and AWS-style instance classes (db.t., db.m., db.r.*)
  • language.yaml: localization strings for DocumentDB UI elements

@ArnobKumarSaha ArnobKumarSaha changed the base branch from docu to master June 17, 2026 11:50
SamiulSourav and others added 4 commits June 17, 2026 17:51
Signed-off-by: Samiul <samiul@appscode.com>
Implements kubedbcom-documentdb-editor-options/ui with:
- create-ui.yaml: full single-step form covering version, mode
  (Standalone/ReplicaSet), replicas, machine profile, storage,
  auth credentials, custom configuration, point-in-time recovery,
  deployment/cluster tier, monitoring, backup, archiver, TLS, and
  gateway exposure — consistent with MongoDB/MySQL/Postgres/Redis patterns
- functions.js: all business logic (initBundle, machine profile handling,
  feature toggles, storage class selection, auth handling, archiver,
  point-in-time recovery) adapted for DocumentDB-specific modes and
  AWS-style instance classes (db.t.*, db.m.*, db.r.*)
- language.yaml: localization strings for DocumentDB UI elements

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Sourav Roy <souravroy@appscode.com>
…es.yaml

Without this, spec.admin.databases.DocumentDB is nil in the Helm values
at the time resourcecalculator fires (triggered by the insights panel on
form open). The db.yaml template at line 79 then hits nil pointer on
.DocumentDB.versions.default.

- initBundle now writes versions/available and auto-selects versions/default
  (first item) if none is set, ensuring the DocumentDB key is never nil
- Add data/machines.yaml (same db.t/m/r types as DB2) so the
  resource-profiles helper resolves machine resources correctly

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Sourav Roy <souravroy@appscode.com>
Not needed per review feedback.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Sourav Roy <souravroy@appscode.com>
@ArnobKumarSaha ArnobKumarSaha force-pushed the feature/documentdb-create-ui branch from 9c10deb to 0010da5 Compare June 17, 2026 11:51
Signed-off-by: Arnob kumar saha <arnob@appscode.com>
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.

3 participants