mirror of
https://github.com/agent-substrate/substrate.git
synced 2026-11-12 10:35:06 +08:00
## Summary `s3Client.PutObject` called `CreateBucket` before every upload. Convenient against local dev backends like rustfs/minio where buckets may not pre-exist, but against managed S3-compatible backends the caller typically lacks `s3:CreateBucket`, so each snapshot upload paid for a 403 in added latency and audit-log noise. For local kind dev, add a one-shot Job alongside the rustfs Deployment that creates the `ate-snapshots` bucket once at install time. ## Validation Verified locally with a kind cluster: - Applied namespace + `manifests/ate-install/kind/rustfs.yaml` - `rustfs-bucket-init` Job retried once while rustfs came up, then created `ate-snapshots` - `aws s3api list-buckets` against rustfs returns `ate-snapshots` --------- Co-authored-by: Benjamin Elder <bentheelder@google.com>