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

Finalize namespace #573

Closed
ialidzhikov opened this issue Aug 21, 2019 · 3 comments
Closed

Finalize namespace #573

ialidzhikov opened this issue Aug 21, 2019 · 3 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@ialidzhikov
Copy link
Contributor

ialidzhikov commented Aug 21, 2019

Because of legacy reasons namespaces in addition to .meta.finalizers have also .spec.finalizers. There is also a separate endpoint for the purpose PUT /api/{version}/namespaces/{namespace}/finalize - see https://github.com/kubernetes/community/blob/master/contributors/design-proposals/architecture/namespaces.md#rest-api and kubernetes/kubernetes#77086 (comment).

k8s.io/client-go has clientset.CoreV1().Namespaces().Finalize(ns) that can finalize namespace.

I would be great if controller-runtime client can also perform this action.

@DirectXMan12
Copy link
Contributor

/kind feature

I think we have someone working on generic subresource support, which would bring in this as well.

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 22, 2019
@DirectXMan12
Copy link
Contributor

#172

@ialidzhikov
Copy link
Contributor Author

Ok, then closing this one in favour of #172.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants