mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 21:17:58 +08:00
fix: Update AWS DynamoDB permission list and correct issues in DynamoDB examples (#2963)
fix: Update AWS DynamoDB permission list, and correct issues in DynamoDB examples Note DeleteTable is only used for the zot tests, should not be needed in production Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
+12
-3
@@ -873,10 +873,13 @@ Additionally if search extension is enabled, additional parameters are needed:
|
||||
"endpoint": "http://localhost:4566",
|
||||
"region": "us-east-2",
|
||||
"cacheTablename": "ZotBlobTable",
|
||||
// used by search extensions
|
||||
"repoMetaTablename": "ZotRepoMetadataTable",
|
||||
"manifestDataTablename": "ZotManifestDataTable",
|
||||
// used for auth
|
||||
"userDataTablename": "ZotUserDataTable",
|
||||
"apiKeyTablename": "ZotApiKeyDataTable",
|
||||
// used by search extension
|
||||
"repoMetaTablename": "ZotRepoMetadataTable",
|
||||
"imageMetaTablename": "ZotImageMetaTable",
|
||||
"repoBlobsInfoTablename": "ZotRepoBlobsInfoTable",
|
||||
"versionTablename": "ZotVersion"
|
||||
}
|
||||
```
|
||||
@@ -891,6 +894,10 @@ The following AWS policy is required by zot for caching blobs. Make sure to repl
|
||||
"Effect": "Allow",
|
||||
"Action": [
|
||||
"dynamodb:CreateTable",
|
||||
"dynamodb:DescribeTable",
|
||||
"dynamodb:DeleteTable",
|
||||
"dynamodb:Scan",
|
||||
"dynamodb:BatchGetItem",
|
||||
"dynamodb:GetItem",
|
||||
"dynamodb:UpdateItem",
|
||||
"dynamodb:DeleteItem"
|
||||
@@ -900,6 +907,8 @@ The following AWS policy is required by zot for caching blobs. Make sure to repl
|
||||
]
|
||||
}
|
||||
|
||||
Note `dynamodb:DeleteTable` is used only in running the zot tests, should not be needed in production.
|
||||
|
||||
### Redis
|
||||
|
||||
Redis is an alternative to BoltDB (which cannot be shared by multiple zot instances) and DynamoDB (requires access to AWS).
|
||||
|
||||
Reference in New Issue
Block a user