kubernetes-retired / multi-tenancy

A working place for multi-tenancy related proposals and prototypes.
Apache License 2.0
954 stars 172 forks source link

Remove HNC managed labels - convert HNC namespace to normal namespace #1532

Closed jvaibhav123 closed 1 year ago

jvaibhav123 commented 1 year ago

Hi,

We made a mistake in production for one of the namespace which shoudn't be HNC. Currently we see all HNC labels on that namespace. When we trying to delete HNC labels, namespace validation webhook is denying that request. We added exclude-namspace argument and added label "hnc.x-k8s.io/excluded-namespace=true" to namespace. I think this will make sure this namespace is not managed by HNC however we would like to get rid of HNC labels.

Is there a way to do that?

Thanks in advance.

Regards, Vaibhav Joshi

k8s-triage-robot commented 1 year ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

adrianludwin commented 1 year ago

Sorry I missed this. Are you saying that even though the namespace has been excluded, there are still HNC labels on it which you can't remove after having excluded the namespace? That shouldn't happen - if you're still seeing this, can you please include the exact command you wrote, the result of kubectl get namespace <name> -oyaml and the result of trying to remove the labels? Thanks!

mrbobbytables commented 1 year ago

Repo is to be archived - see https://github.com/kubernetes/org/issues/4297 for details

/close

k8s-ci-robot commented 1 year ago

@mrbobbytables: Closing this issue.

In response to [this](https://github.com/kubernetes-sigs/multi-tenancy/issues/1532#issuecomment-1607625771): >Repo is to be archived - see https://github.com/kubernetes/org/issues/4297 for details > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.