shoulders infra add-db
shoulders infra add-db
Create a StateStore
shoulders infra add-db <name> [flags]
Options
--cpu-limit string PostgreSQL CPU limit, for example 1000m
--cpu-request string PostgreSQL CPU request, for example 250m (prod tier defaults to 250m)
--database string Bootstrap PostgreSQL database name (default "app")
--databases string Additional PostgreSQL databases, comma or newline separated
--dry-run Print YAML instead of applying
-h, --help help for add-db
--init-sql stringArray SQL statement to run during PostgreSQL bootstrap, repeatable
--memory-limit string PostgreSQL memory limit, for example 1Gi
--memory-request string PostgreSQL memory request, for example 512Mi (prod tier defaults to 512Mi)
-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
--cluster string Target cluster from the topology (defaults to the only cluster, or the hub)
--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. Overrides are ephemeral and are not saved to the config file
SEE ALSO
- shoulders infra - Provision infrastructure services