Skip to content

One Operator per Database #125

@eberlep

Description

@eberlep

To allow for database-specific Storage an Schedule/Retention options, we switch to a dedicated operator per database.

In theory, we only need to change the namespace of a newly created databae from Postgres.Spec.ProjectID to the generated database name in Postgres.ToPeripheralResourceNamespace(). This could, in theory, even be configurable.

Currently, the operator itself uses about ~35MB of ressources, the (currently not used) prometheus federation another 60MB. This is considered to be acceptable overhead.

The backup-config still remains as is, but now has to be provided when creating a new database as it can no longer be derived from the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions