State Store
Source: state-store-xrd.yaml — group shoulders.io, scope Namespaced, version v1alpha1.
spec fields
| Field | Type | Description |
|---|---|---|
objectStorage | object | S3-compatible buckets provisioned via Garage. |
objectStorage.buckets | array | Bucket definitions to provision. |
objectStorage.buckets[].name | string | Garage bucket name. (required) |
objectStorage.buckets[].owner | boolean | Grant owner access on the bucket to the generated key. (default: false) |
objectStorage.buckets[].read | boolean | Grant read access on the bucket to the generated key. (default: true) |
objectStorage.buckets[].secretName | string | Kubernetes Secret for the S3 credentials. Defaults to <bucket>-s3. |
objectStorage.buckets[].write | boolean | Grant write access on the bucket to the generated key. (default: true) |
objectStorage.enabled | boolean | Enable Garage bucket provisioning. (default: false) |
objectStorage.endpoint | string | S3 endpoint recorded in the generated Secrets. (default: http://garage.garage.svc.cluster.local:3900) |
objectStorage.region | string | S3 region recorded in the generated Secrets. (default: garage) |
postgresql | object | PostgreSQL database provisioned via CloudNativePG. |
postgresql.database | string | Bootstrap application database. (default: app) |
postgresql.databases | array<string> | Additional databases to create, owned by the app user. |
postgresql.enabled | boolean | Enable the CloudNativePG Cluster. (default: true) |
postgresql.initSQL | array<string> | Bootstrap SQL statements run against the application database. |
postgresql.password | string | Application database password. Change from the default outside local development. (default: password) |
postgresql.secretName | string | Secret holding the app username and password. Defaults to <statestore>-app-secret. |
postgresql.storage | string | PVC storage size for each PostgreSQL instance. (default: 1Gi) |
postgresql.username | string | Application database user. (default: app) |
redis | object | Redis cache (Deployment plus Service). |
redis.enabled | boolean | Enable Redis. (default: true) |
redis.replicas | integer | Number of Redis replicas. (default: 1) |