Skip to content

Add PostgresSchema CR #151

@djjudas21

Description

@djjudas21

Hi there. I am looking for a Postgres operator that can manage the Postgres DDL via CRs, and this project comes the closest thanks to the PostgresUser CRD.

My use case is that I want an admin user to be able to provision a long-lived Postgres cluster, but then lesser-privileged users will be able to submit PostgresUser and PostgresSchema CRs to create schemas and users without having to edit the Postgres CR. I'm looking at CI pipelines which run automated tests where they need to create a Postgres database as part of the tests, and tear it down after. It's quite slow to provision a whole cluster, but it would be much faster to provision a schema + user on an existing cluster.

Every operator I have looked at so far requires editing the Postgres CR at the global scope to add schemas and users. This one offers PostgresUser but it just needs PostgresSchema and it will be complete (for me).

Would you consider putting this feature on the roadmap? Thanks

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