Skip to content

create a webhook to prevent creation of second storageCluster in the same namespace #2877

@rewantsoni

Description

@rewantsoni

Currently, we allow the user to create multiple storageClusters in the same namespace, expect the first storage cluster others are marked as Ignored.

We should restrict creating the second storageCluster in the same namespace using a webhook.

Originally Posted in #2844 (comment)

@malayparida2000 I understand what you are saying, but that is a scenario we should 
not address this way. That is a user error, and if we want to solve it we should introduce 
a webhook to prevent the creation of a second storage cluster.

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