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:
@@ -37,22 +37,32 @@ spec:
|
||||
name: sor-app-secrets
|
||||
key: ConnectionStrings__Default
|
||||
|
||||
# CDN — needed for asset uploads in the admin portal.
|
||||
# CDN (Ceph RadosGW S3-compatible) — needed for asset uploads in the admin portal.
|
||||
- name: Cdn__PublicBaseUrl
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: sor-app-secrets
|
||||
key: Cdn__PublicBaseUrl
|
||||
- name: Cdn__UploadBaseUrl
|
||||
- name: Cdn__EndpointUrl
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: sor-app-secrets
|
||||
key: Cdn__UploadBaseUrl
|
||||
- name: Cdn__ApiKey
|
||||
key: Cdn__EndpointUrl
|
||||
- name: Cdn__AccessKey
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: sor-app-secrets
|
||||
key: Cdn__ApiKey
|
||||
key: Cdn__AccessKey
|
||||
- name: Cdn__SecretKey
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: sor-app-secrets
|
||||
key: Cdn__SecretKey
|
||||
- name: Cdn__BucketName
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: sor-app-secrets
|
||||
key: Cdn__BucketName
|
||||
|
||||
# ASP.NET Core Data Protection — persists Blazor auth cookies across restarts.
|
||||
# TODO: generate a strong random value and store in sor-app-secrets.
|
||||
|
||||
Reference in New Issue
Block a user