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

Not deleting resources correctly #462

Closed
vvavepacket opened this issue Feb 8, 2021 · 0 comments · Fixed by #472
Closed

Not deleting resources correctly #462

vvavepacket opened this issue Feb 8, 2021 · 0 comments · Fixed by #472
Assignees
Labels

Comments

@vvavepacket
Copy link

I installed minio operator to a specific namespace using kubectl minio init --namespace minio
Now when I want to delete it by executing kubectl minio delete, it doesn't delete all the resources and errors out

Now, when I try to recreate minio again, I'm unable to do so because it complains of the following

Expected Behavior

It should end with a successful message

Current Behavior

user@jane-street-H01834384:~/.krew/bin$ kubectl minio delete
Are you sure you want to delete ALL the MinIO Tenants and MinIO Operator? [Y/N]: y
Error: customresourcedefinitions.apiextensions.k8s.io "tenants.minio.min.io" not found

Possible Solution

Steps to Reproduce (for bugs)

  1. kubectl delete namespace minio
  2. kubectl minio init --namespace minio
  3. kubectl minio delete (error)
  4. kubectl minio init --namespace minio (error)

Context

I tried to install minio to a specific namespace,, now I want to uninstall it, it fails.. If I attempt to install again to the same namespace or other namespace, it errors out..

Regression

No

Your Environment

  • Version used (minio-operator):
  • Environment name and version (e.g. kubernetes v1.17.2):
  • Server type and version:
  • Operating System and version (uname -a):
  • Link to your deployment file:

Ubuntu, k8s 1.17

@nitisht nitisht self-assigned this Feb 9, 2021
@nitisht nitisht mentioned this issue Feb 18, 2021
harshavardhana pushed a commit that referenced this issue Feb 18, 2021
Fix Tenant creation to include Users field & update the
Statik file. Also other community bug fixes.

Fixes #467
Fixes #462
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants