Skip to content

[Feat]: Consolidate AWS DynamoDB table names in configuration to a table name prefix #2966

Description

@CajuM

Is your feature request related to a problem? Please describe.

Presently a configuration file for zot that uses DynamoDB as the cache driver has the following format:

        "cacheDriver": {
            "name": "dynamodb",
            "endpoint": "http://localhost:4566",
            "region": "us-east-2",
            "cacheTablename": "BlobTable",
            "repoMetaTablename": "RepoMetadataTable",
            "imageMetaTablename": "ImageMetaTable",
            "repoBlobsInfoTablename": "RepoBlobsInfoTable",
            "apiKeyTablename": "ApiKeyDataTable",
            "userDataTablename": "UserDataTable",
            "versionTablename": "VersionTable"
        }

Describe the solution you'd like

I believe it would be easier for the administrator if we could could configure a table name prefix instead of each table name individually.
For example:

        "cacheDriver": {
            "name": "dynamodb",
            "endpoint": "http://localhost:4566",
            "region": "us-east-2",
            "tablenamePrefix": "Zot"
        }

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requestgood first issueGood for newcomersrm-externalRoadmap item submitted by non-maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions