kubewharf/kubebrain

How about prune the dependency of `k8s.io/kubernetes`

STRRL opened this issue · 2 comments

STRRL commented

What would you like to be added?

I found that the only usage of k8s.io/kubernetes is here:

utilflag.PrintFlags(cmd.Flags())

I am very pleased to contribute if my proposal is accepted.

Why is this needed?

  • It would reduce lots of time of preparing the dev environment and also the time of building kubebrain.
  • it would reduce the concern about "which version of k8s.io/kubernetes should we use" , and many related go modules replace issues

You know, the much better dev experience. :P

Thanks for your advisor. Please feel free to file an PR. If you are busy, i will solve it tonight.

STRRL commented

I would give it a try very soon. :D