Skip to content

UI does not allow selecting namespace for a new cluster and clusters from other namespaces are not displayed #3157

Description

@podguzovvasily

Description

I found two related issues in the Postgres Operator UI.

1. Cannot choose a namespace when creating a cluster

The "Create Cluster" form does not provide any option to select the target Kubernetes namespace. As a result, the generated manifest is created only for the default namespace used by the UI.

2. Clusters created in another namespace are not visible

As a workaround, I generated the manifest in the UI and manually changed the metadata.namespace before applying it.

The PostgreSQL cluster was successfully created and is fully operational in the target namespace. However, it does not appear in the UI's cluster list.

Expected behavior

  • The UI should allow selecting the target namespace when creating a new PostgreSQL cluster.
  • The cluster list should display clusters from all namespaces that the UI has permission to access, or at least provide a namespace selector/filter.

Actual behavior

  • There is no namespace selector during cluster creation.
  • Clusters deployed outside the default namespace are not shown in the UI, even though they exist and are managed by the operator.

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