Is your feature request related to a problem? Please describe.
Currently, the Tenant CRD allows creating buckets via spec.buckets, but it only has a simple objectLock: true/false boolean flag.
There are no fields in the YAML schema to configure the actual Object Lock retention mode (Compliance/Governance) or duration (days).
Describe the solution you'd like
We should expand the spec.buckets schema in tenant-crd.yaml to support explicit versioning and full object lock configuration directly in the YAML:
spec:
buckets:
- name: secure-bucket
versioning: true
objectLock: true
objectLockConfiguration:
mode: Compliance # Compliance or Governance
days: 30
Describe alternatives you've considered
Using manual post-install scripts or Kubernetes Jobs with mc/rc CLI to set retention periods over the S3 API.
Additional context
Adding this to the CRD will make bucket provisioning completely declarative and provide a true zero-touch bootstrap experience for new S3 Tenants.
Is your feature request related to a problem? Please describe.
Currently, the
TenantCRD allows creating buckets viaspec.buckets, but it only has a simpleobjectLock: true/falseboolean flag.There are no fields in the YAML schema to configure the actual Object Lock retention mode (Compliance/Governance) or duration (days).
Describe the solution you'd like
We should expand the
spec.bucketsschema intenant-crd.yamlto support explicit versioning and full object lock configuration directly in the YAML:Describe alternatives you've considered
Using manual post-install scripts or Kubernetes
Jobswithmc/rcCLI to set retention periods over the S3 API.Additional context
Adding this to the CRD will make bucket provisioning completely declarative and provide a true zero-touch bootstrap experience for new S3 Tenants.