seaweedfs CORS

This commit is contained in:
titver968
2025-11-04 14:17:19 +01:00
parent 1518e37fd8
commit 1c0c6e6a1b
2 changed files with 4 additions and 1 deletions

View File

@@ -1,3 +1,3 @@
{
"seaweedfs_s3_config": "{\n \"identities\": [\n {\n \"name\": \"tatort\",\n \"credentials\": [\n {\n \"accessKey\": \"wjpKrmaqXra99rX3D61H\",\n \"secretKey\": \"fTPi0u0FR6Lv9Y9IKydWv6WM0EA5XrsK008HCt9u\"\n }\n ],\n \"actions\": [\n \"Admin\",\n \"Read\",\n \"Write\"\n ]\n },\n {\n \"name\": \"plane\",\n \"credentials\": [\n {\n \"accessKey\": \"a0ccb47cc0994bf51ecd\",\n \"secretKey\": \"0d54ee2f943f2a56b8cafc3afe9cb1e2f9fecac2\"\n }\n ],\n \"actions\": [\n \"Admin\",\n \"Read\",\n \"Write\"\n ]\n }\n ]\n}\n"
"seaweedfs_s3_config": "{\n \"identities\": [\n {\n \"name\": \"tatort\",\n \"credentials\": [\n {\n \"accessKey\": \"wjpKrmaqXra99rX3D61H\",\n \"secretKey\": \"fTPi0u0FR6Lv9Y9IKydWv6WM0EA5XrsK008HCt9u\"\n }\n ],\n \"actions\": [\n \"Read\",\n \"Write\",\n \"Admin\"\n ]\n },\n {\n \"name\": \"plane\",\n \"credentials\": [\n {\n \"accessKey\": \"a0ccb47cc0994bf51ecd\",\n \"secretKey\": \"0d54ee2f943f2a56b8cafc3afe9cb1e2f9fecac2\"\n }\n ],\n \"actions\": [\n \"Read\",\n \"Write\",\n \"Admin\"\n ]\n },\n {\n \"name\": \"n8n\",\n \"credentials\": [\n {\n \"accessKey\": \"WPpTwIoSMgrPChsS3rdS\",\n \"secretKey\": \"C59o3EAhsUKBWj1oiPtiYRq3GhLMFeYDeiMxJ4SW\"\n }\n ],\n \"actions\": [\n \"Read\",\n \"Write\",\n \"Admin\"\n ]\n }\n ]\n}\n"
}

View File

@@ -45,6 +45,9 @@ spec:
existingConfigSecret: "admin-s3-secret"
existingConfigSecretKey: "seaweedfs_s3_config"
extraEnvironmentVars:
WEED_S3_ALLOWED_ORIGINS: "*"
service:
type: ClusterIP
annotations: {}