seaweedfs admin-s3

This commit is contained in:
titver968
2025-12-04 11:18:42 +01:00
parent efecc0fb32
commit f9ad16a131
2 changed files with 66 additions and 34 deletions

View File

@@ -10,37 +10,23 @@ metadata:
stringData: stringData:
seaweedfs_s3_config: | seaweedfs_s3_config: |
{ [[identity]]
"identities": [ name = "tatort"
{ [[identity.credentials]]
"name": "tatort", accessKey = "wjpKrmaqXra99rX3D61H"
"credentials": [ secretKey = "fTPi0u0FR6Lv9Y9IKydWv6WM0EA5XrsK008HCt9u"
{ actions = ["Read", "Write", "Admin"]
"accessKey": "wjpKrmaqXra99rX3D61H",
"secretKey": "fTPi0u0FR6Lv9Y9IKydWv6WM0EA5XrsK008HCt9u" [[identity]]
} name = "plane"
], [[identity.credentials]]
"actions": ["Read", "Write", "Admin"] accessKey = "a0ccb47cc0994bf51ecd"
}, secretKey = "0d54ee2f943f2a56b8cafc3afe9cb1e2f9fecac2"
{ actions = ["Read", "Write", "Admin"]
"name": "plane",
"credentials": [ [[identity]]
{ name = "n8n"
"accessKey": "a0ccb47cc0994bf51ecd", [[identity.credentials]]
"secretKey": "0d54ee2f943f2a56b8cafc3afe9cb1e2f9fecac2" accessKey = "WPpTwIoSMgrPChsS3rdS"
} secretKey = "C59o3EAhsUKBWj1oiPtiYRq3GhLMFeYDeiMxJ4SW"
], actions = ["Read", "Write", "Admin"]
"actions": ["Read", "Write", "Admin"]
},
{
"name": "n8n",
"credentials": [
{
"accessKey": "WPpTwIoSMgrPChsS3rdS",
"secretKey": "C59o3EAhsUKBWj1oiPtiYRq3GhLMFeYDeiMxJ4SW"
}
],
"actions": ["Read", "Write", "Admin"]
}
]
}

View File

@@ -0,0 +1,46 @@
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: admin-s3-secret
namespace: seaweedfs
labels:
app.kubernetes.io/name: seaweedfs
app.kubernetes.io/component: seaweedfs-s3
stringData:
seaweedfs_s3_config: |
{
"identities": [
{
"name": "tatort",
"credentials": [
{
"accessKey": "wjpKrmaqXra99rX3D61H",
"secretKey": "fTPi0u0FR6Lv9Y9IKydWv6WM0EA5XrsK008HCt9u"
}
],
"actions": ["Read", "Write", "Admin"]
},
{
"name": "plane",
"credentials": [
{
"accessKey": "a0ccb47cc0994bf51ecd",
"secretKey": "0d54ee2f943f2a56b8cafc3afe9cb1e2f9fecac2"
}
],
"actions": ["Read", "Write", "Admin"]
},
{
"name": "n8n",
"credentials": [
{
"accessKey": "WPpTwIoSMgrPChsS3rdS",
"secretKey": "C59o3EAhsUKBWj1oiPtiYRq3GhLMFeYDeiMxJ4SW"
}
],
"actions": ["Read", "Write", "Admin"]
}
]
}