cybozu-go / accurate

Kubernetes controller for multi-tenancy. It propagates resources between namespaces accurately and allows tenant users to create/delete sub-namespaces.
https://cybozu-go.github.io/accurate/
Apache License 2.0
38 stars 5 forks source link

Webhooks should have better names #86

Closed erikgb closed 11 months ago

erikgb commented 11 months ago

What

When attempting to delete a namespace with subnamespaces, this is rejected by the webhook - which is good. But I think webhooks should be named properly - so a user can understand better what's going on.

$ k delete namespaces erikbo
Error from server (Forbidden): admission webhook "vnamespace.kb.io" denied the request: child namespaces exist

How

Describe how to address the issue.

Checklist

zeroalphat commented 11 months ago

@erikgb As your feedback, it looks like it should be fixed. We will fix it.