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:
@@ -48,22 +48,32 @@ spec:
|
||||
name: redis-credentials
|
||||
key: connection-string
|
||||
|
||||
# CDN
|
||||
# CDN (Ceph RadosGW S3-compatible)
|
||||
- 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
|
||||
|
||||
# ── Health checks ──────────────────────────────────────────────────
|
||||
livenessProbe:
|
||||
|
||||
Reference in New Issue
Block a user