Skip to content

[Feature] Postgres cluster manifest in separate namespace than its child resources #771

Open
@frittentheke

Description

@frittentheke

Currently, at least as far as I understand the available configuration options, the postgres-operator will create the clusters or rather the related resources in the same namespace as the custom resource "postgresql" - https://github.com/zalando/postgres-operator/blob/master/pkg/cluster/cluster.go#L135

In order to allow folks to "request" a database, but to not have them access the actual pods, it would be nice to be able to configure a target namespace for the operator to create all those statefulsets, secrets and whatnot.

Provided there is some "external" authentication or db credentials are provided by something like Hashicorp Vault, there is actually "no need" to place the resources into the same namespace as i.e. the application in need of a database cluster.

Would you be open to add this feature or even accept a PR?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions