-
Notifications
You must be signed in to change notification settings - Fork 40.3k
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
Re-organize certificate and key helper libraries #71004
Comments
/sig auth |
Ideal, client-go has only what we need to support the client. We should be very careful with what we expose outside of that package. |
cc @luxas |
@mourya007 https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil has some overlap with the other libraries. It is also kubeadm-specific but has several dependencies in client-go that nobody else uses. I want to pull anything in client-go that only kubeadm uses into pkiutil. |
@awly Can you give me one example for what exactly we need to do in this library https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil ? |
This package contains public/private key utilities copied directly from client-go/util/cert. All imports were updated. Future PRs will actually refactor the libraries. Updates kubernetes#71004
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Is this fixed? |
The libraries with helper funcs in client-go and kubeadm are very dis-organized and have a lot of overlap. There's also many very specialized funcs that are not reusable.
List of current libraries:
Propose the following organization:
I'll work on incrementally moving towards that organization
/kind bug
The text was updated successfully, but these errors were encountered: