I have rancher 2.0 to manage kubernetes using RBAC access control, the kubeconfig
I used for kubectl
is simple, it shows the cluster server to rancher.
Then in some system like jenkins kubernetes plugin, how can I fill the information for kubernetes Name, Kubernetes URL, Kubernetes server certificate key, ...
see below
Run command cat /nonexistent/ssl/ca.cert (and save the certificate)
On Jenkins (fill in the following) Kubernetes URL = [put the server in here] Kubernetes server certificate key = [put cert in here] Credential, click Add, create a username/password credential, use access key as username and secret key as password.
Click on Test connection