I needed to separate the kubeconfig steps as I needed to construct a kube client but then one thing led to another and I had to do a big linter pass to make make reviewable pass. This included import ordering, some changes in the interfaces and addition of context.Context in places where it was deemed necessary by the contextcheck golinter.
Description of your changes
I needed to separate the kubeconfig steps as I needed to construct a kube client but then one thing led to another and I had to do a big linter pass to make
make reviewable
pass. This included import ordering, some changes in the interfaces and addition ofcontext.Context
in places where it was deemed necessary by thecontextcheck
golinter.I have:
make reviewable
to ensure this PR is ready for review.backport release-x.y
labels to auto-backport this PR, as appropriate.How has this code been tested
Only meaningful change is made in kubeconfig generation and I tested that manually and confirmed that it's working in the same way.