Files
cozystack/packages/apps/bucket
Yan Bondarenko 19ab55c030 fix(platform): stop handing tenants a root S3 the root tenant does not run
cozystack-basics wrote seaweedfs: tenant-root into the root values
unconditionally, so every tenant without its own SeaweedFS inherited
tenant-root as its S3 even when Tenant/root runs none. A Bucket there got
a BucketClaim for a bucket class that never appears, and Harbor got its
registry bucket the same way.

seaweedfs.rootEnabled records that choice the way monitoring.rootEnabled
does for monitoring, and the bucket and harbor charts refuse to render
without S3 up the tenant chain rather than wait on a class that does not
exist.

Older configurations have no SeaweedFS flag. Keep their root S3 enabled.
For an explicit value only true or the string "true" enables it.

Assisted-by: LLM
Signed-off-by: Yan Bondarenko <202671653+yankawai@users.noreply.github.com>
2026-12-02 07:11:22 +01:00
..
2024-08-12 14:47:11 +02:00
2025-09-24 12:32:37 +02:00

S3 bucket

Parameters

Parameters

Name Description Type Value
locking Provisions bucket from the -lock BucketClass (with object lock enabled). bool false
lockingDefaultRetention With locking, keeps the default retention of the -lock BucketClass (COMPLIANCE, 365 days). Set to false to provision from the -lock-noretention BucketClass instead: Object Lock is enabled with no default retention, and retention is then set on the bucket or per object through the S3 API. Read at creation only. bool true
storagePool Selects a specific BucketClass by storage pool name. string ""
ui Deploys the web UI (s3manager) with its Service and its Ingress or HTTPRoute at <bucket>.<tenant host>. Set to false to run the bucket without them. bool true
publicRead Serves the bucket's objects to anyone without credentials at <endpoint>/<bucket>/<key>. Anonymous callers can read objects but cannot list the bucket or write to it. bool false
users Users configuration map. map[string]object {}
users[name].readonly Whether the user has read-only access. bool false
schedulingClass Name of a SchedulingClass CR (cluster-scoped, group cozystack.io) used in place of the tenant's for this application's pods. A pod gets its class when it is created, so running pods keep theirs until they are recreated. Must be the tenant's own class or one listed in the tenant's allowedSchedulingClasses. Setting any other value is refused, and the pods of an application whose class is not, or no longer, in that list get the tenant's class. Empty means inherit from the tenant. string ""