# Session recordings on a store that serves virtual-hosted URLs behind a
# custom endpoint, such as Cloudflare R2, DigitalOcean Spaces, Wasabi or
# Hetzner Object Storage.
apiVersion: almaforge.com/v1
kind: StorageConfig
metadata:
  name: recordings
spec:
  s3:
    bucket: almaforge-recordings
    region: auto
    endpoint: https://account.r2.cloudflarestorage.com
    path: records
    # Setting endpoint otherwise selects path-style addressing, which these
    # stores reject. Accepts auto, path or virtual.
    pathStyle: virtual
