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>
20 lines
748 B
Plaintext
20 lines
748 B
Plaintext
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: sor-app-secrets
|
|
namespace: stone-server
|
|
type: Opaque
|
|
stringData:
|
|
# Postgres connection string (shared by sor-host and sor-admin).
|
|
# 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 (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__EndpointUrl: "http://CHANGEME:7480"
|
|
Cdn__AccessKey: "CHANGEME"
|
|
Cdn__SecretKey: "CHANGEME"
|
|
Cdn__BucketName: "sor-assets"
|