-
Task
-
Resolution: Fixed
-
Minor
-
None
-
Plugin version: 0.2.3
Jenkins version: 2.46.3
I have properly configured the plugin and I was able to publish to a kubernetes cluster. However, the specified kubeconfig contains an expiration date. How does the plugin handles expired/expiring kubeconfig? Am I supposed to auth a different way so my session doesn't expire? Thanks in advance.
I figured it out. First, I was creating my kubeconfig as if it was going to be used by kubectl which explains my expiration problem. While reading these plugin docs I found this howto kubeconfig doc. Even after creating it that way I was still unable to access the cluster via the plugin. Finally, this bug report helped me realize I was missing the token from the kubeconfig.