Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[JENKINS-49817] Support kubeconfig from secretFile credentials #294
I have (minimally) tested it, however. Sending it now so people can take a look. I'll update the title when it's no longer blocked.
This is my preferred way of handling all credentials for kubernetes clusters, whenever the credentials are "portable" and sealed. For example, when producing limiting service accounts in remote namespaces and then generating kubeconfigs for them.
The change to
I'll work on tests.
Actually, I see what KubectlBuildWrapper is, it already works with kubeconfig so this is straightforward.
Any pointers on what test(s) you are looking for? The net change boils down to calling a single method from the client package and I don't see any existing auth-related tests.