From 07f3a1fb31607952dec407aa9b2ea7278c3d2792 Mon Sep 17 00:00:00 2001 From: subnetmarco <88.marco@gmail.com> Date: Sat, 26 Sep 2026 16:51:15 -0700 Subject: [PATCH 1/2] docs(databases): drop the AWS region placeholder The create row described --region as aws-. Call it a region, as the rest of the platform docs do. Co-authored-by: Cursor --- docs/databases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/databases.md b/docs/databases.md index 2434a831..9e1468bc 100644 --- a/docs/databases.md +++ b/docs/databases.md @@ -22,7 +22,7 @@ it using its connection string. | Operation | Command | |---|---| -| Create | `volcano databases create [--type …] [--region aws-] [--pg-version …]` | +| Create | `volcano databases create [--type …] [--region ] [--pg-version …]` | | List | `volcano databases list` | | Get | `volcano databases get [--show-connection-string]` | | Delete | `volcano databases delete ` | From 7c94edf74a7ccd860939deffbe6f01211f0b7de4 Mon Sep 17 00:00:00 2001 From: subnetmarco <88.marco@gmail.com> Date: Sun, 27 Sep 2026 13:23:44 -0700 Subject: [PATCH 2/2] fix(databases): describe regions as plain region codes The databases create flag help described regions as aws-, and the durable scheduler example passed --regions aws-us-east-1, although scheduler regions have always been plain codes. The API now publishes database region IDs as us-east-1 and still accepts the older form. Co-authored-by: Cursor --- docs/databases.md | 2 +- internal/cmd/databases/create.go | 2 +- internal/cmd/durable/schedulers/create.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/databases.md b/docs/databases.md index 9e1468bc..65265c51 100644 --- a/docs/databases.md +++ b/docs/databases.md @@ -191,7 +191,7 @@ same way. ```bash # Create a database (defaults to type volcano-db-xs) volcano databases create app -volcano databases create app --type volcano-db-s --region aws-us-east-1 +volcano databases create app --type volcano-db-s --region us-east-1 # Show the connection string volcano databases get app --show-connection-string diff --git a/internal/cmd/databases/create.go b/internal/cmd/databases/create.go index 8ce743a6..8022d0ed 100644 --- a/internal/cmd/databases/create.go +++ b/internal/cmd/databases/create.go @@ -80,7 +80,7 @@ func newCreateWithOptions(deps cliruntime.Deps, commandOpts createCommandOptions }) }, } - cmd.Flags().StringVar(®ion, "region", "", "Database region (aws-, e.g. aws-us-east-1)") + cmd.Flags().StringVar(®ion, "region", "", "Database region, such as us-east-1") cmd.Flags().StringVar(&pgVersion, "pg-version", "", "PostgreSQL version") cmd.Flags().StringVar(&databaseType, "type", "", "Database type (default: volcano-db-xs)") cmd.Flags().BoolVar(&showConnectionString, "show-connection-string", false, "Show database connection string") diff --git a/internal/cmd/durable/schedulers/create.go b/internal/cmd/durable/schedulers/create.go index 22220360..b71ff225 100644 --- a/internal/cmd/durable/schedulers/create.go +++ b/internal/cmd/durable/schedulers/create.go @@ -49,7 +49,7 @@ input every execution the scheduler starts receives.`, %s`, cliruntime.CommandPath(deps, `durable schedulers create order-pipeline --cron "0 * * * *"`), cliruntime.CommandPath(deps, `durable schedulers create order-pipeline --name nightly-sweep --cron "0 2 * * *" --input sweep.json`), - cliruntime.CommandPath(deps, `durable schedulers create order-pipeline --cron "0 9 * * 1-5" --regions aws-us-east-1`)), + cliruntime.CommandPath(deps, `durable schedulers create order-pipeline --cron "0 9 * * 1-5" --regions us-east-1`)), Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { opts.deps = deps