Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rewantsoni opened this issue Nov 6, 2024 · 0 comments

Comments

@rewantsoni
Copy link
Member

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant