Skip to main content

State Store

Source: state-store-xrd.yaml — group shoulders.io, scope Namespaced, version v1alpha1.

spec fields​

FieldTypeDescription
objectStorageobjectS3-compatible buckets provisioned via Garage.
objectStorage.bucketsarrayBucket definitions to provision.
objectStorage.buckets[].namestringGarage bucket name. (required)
objectStorage.buckets[].ownerbooleanGrant owner access on the bucket to the generated key. (default: false)
objectStorage.buckets[].readbooleanGrant read access on the bucket to the generated key. (default: true)
objectStorage.buckets[].secretNamestringKubernetes Secret for the S3 credentials. Defaults to <bucket>-s3.
objectStorage.buckets[].writebooleanGrant write access on the bucket to the generated key. (default: true)
objectStorage.enabledbooleanEnable Garage bucket provisioning. (default: false)
objectStorage.endpointstringS3 endpoint recorded in the generated Secrets. (default: http://garage.garage.svc.cluster.local:3900)
objectStorage.regionstringS3 region recorded in the generated Secrets. (default: garage)
postgresqlobjectPostgreSQL database provisioned via CloudNativePG.
postgresql.databasestringBootstrap application database. (default: app)
postgresql.databasesarray<string>Additional databases to create, owned by the app user.
postgresql.enabledbooleanEnable the CloudNativePG Cluster. (default: true)
postgresql.initSQLarray<string>Bootstrap SQL statements run against the application database.
postgresql.passwordstringApplication database password. Change from the default outside local development. (default: password)
postgresql.secretNamestringSecret holding the app username and password. Defaults to <statestore>-app-secret.
postgresql.storagestringPVC storage size for each PostgreSQL instance. (default: 1Gi)
postgresql.usernamestringApplication database user. (default: app)
redisobjectRedis cache (Deployment plus Service).
redis.enabledbooleanEnable Redis. (default: true)
redis.replicasintegerNumber of Redis replicas. (default: 1)