shoulders infra add-db
shoulders infra add-db
Create a StateStore
shoulders infra add-db <name> [flags]
Options
--database string Bootstrap PostgreSQL database name (default "app")
--databases string Additional PostgreSQL databases, comma or newline separated
-h, --help help for add-db
--init-sql stringArray SQL statement to run during PostgreSQL bootstrap, repeatable
-n, --namespace string Workspace namespace to target
--secret string PostgreSQL credentials Secret name (defaults to <name>-app-secret)
--tier string Database tier: dev|prod (default "dev")
--type string Database type: postgres|redis (default "postgres")
Options inherited from parent commands
--config string Path to config file (default "/home/runner/.shoulders/config.yaml")
--kubeconfig string Path to kubeconfig file
-o, --output string Output format: table|json|yaml (default "table")
--set stringArray Set a config value override (key=value), repeatable
SEE ALSO
- shoulders infra - Provision infrastructure services