# Session recordings on a self-hosted S3-compatible store that presents a
# certificate from an internal certificate authority.
#
# Install the authority on the Auth host as root:root 0600 before starting
# almad, or the service fails to start.
apiVersion: almaforge.com/v1
kind: StorageConfig
metadata:
  name: recordings
spec:
  s3:
    bucket: almaforge-recordings
    region: us-east-1
    endpoint: https://seaweedfs.internal.example.com:8333
    path: records
    # Verifies the endpoint against this authority instead of the system
    # roots. Cannot be combined with insecure, which turns TLS off.
    caCert: /etc/almaforge/store-ca.pem
