Thanos objstore supports Oracle Cloud Infrastructure Object Storage (OCI provider). Add it as a Cortex storage backend for blocks, ruler, and alertmanager storage.
Implementation steps
- Create
pkg/storage/bucket/oci/config.go — Config struct with RegisterFlagsWithPrefix()
- Create
pkg/storage/bucket/oci/bucket_client.go — Thin wrapper around objstore/providers/oci
- Register in
pkg/storage/bucket/client.go — Add constant, config field, and NewClient() case
- Vendor the OCI provider and Oracle Cloud SDK
- Add unit tests and CHANGELOG entry
Thanos objstore supports Oracle Cloud Infrastructure Object Storage (
OCIprovider). Add it as a Cortex storage backend for blocks, ruler, and alertmanager storage.Implementation steps
pkg/storage/bucket/oci/config.go— Config struct withRegisterFlagsWithPrefix()pkg/storage/bucket/oci/bucket_client.go— Thin wrapper aroundobjstore/providers/ocipkg/storage/bucket/client.go— Add constant, config field, andNewClient()case