Add an OptionalExtension to support Kubernetes credentials provider plugin.
With this extension, the user can use a Kubernetes secret to save the kubeconfig content.
I have to upgrade the Jenkins and some plugins version to run the tests because of the kubernetes credentials provider.
The kubernetes credentials provider plugin is optional, so this change doesn't affect the users without it.
I test the code on my Jenkins instance with and without kubernetes credentials provider by both pipeline and freestyle jobs. All jobs work as expected without error.
I will file a new pull request about the document after this one is accepted.
Add an OptionalExtension to support Kubernetes credentials provider plugin. With this extension, the user can use a Kubernetes secret to save the kubeconfig content.
I have to upgrade the Jenkins and some plugins version to run the tests because of the kubernetes credentials provider.
The kubernetes credentials provider plugin is optional, so this change doesn't affect the users without it.
I test the code on my Jenkins instance with and without kubernetes credentials provider by both pipeline and freestyle jobs. All jobs work as expected without error.
I will file a new pull request about the document after this one is accepted.
Thanks