Switch CDN to S3-compatible Ceph RadosGW (AWSSDK.S3)

Replace custom HttpCdnClient (proprietary upload API) with S3CdnClient
backed by AWSSDK.S3 using ForcePathStyle for Ceph RadosGW compatibility.
CdnOptions gains EndpointUrl/AccessKey/SecretKey/BucketName; removes
UploadBaseUrl/ApiKey. K8s deployments and secrets template updated to
match new config keys.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
dingo
2026-02-27 00:57:15 -05:00
co-authored by Claude Happy
parent b442ed3d9c
commit b6ac58bada
9 changed files with 126 additions and 99 deletions
+7 -3
View File
@@ -9,7 +9,11 @@ stringData:
# Format: Host=HOST;Port=5432;Database=SOR;Username=USER;Password=PASSWORD;
ConnectionStrings__Default: "Host=172.10.1.127;Port=5432;Database=SOR;Username=SOR-DBA;Password=CHANGEME"
# CDN — public URL served to clients, upload endpoint, and API key.
# CDN (Ceph RadosGW S3-compatible).
# PublicBaseUrl: the public-facing URL prefix returned to clients for asset links.
# EndpointUrl: internal S3 endpoint (e.g. http://172.10.1.60:7480).
Cdn__PublicBaseUrl: "https://CHANGEME"
Cdn__UploadBaseUrl: "https://CHANGEME"
Cdn__ApiKey: "CHANGEME"
Cdn__EndpointUrl: "http://CHANGEME:7480"
Cdn__AccessKey: "CHANGEME"
Cdn__SecretKey: "CHANGEME"
Cdn__BucketName: "sor-assets"