ERROR: [kubernetes-cli] unsupported credentials type

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

ERROR: [kubernetes-cli] unsupported credentials type

anilkumar panditi
I have followed the below and my connection test is successful to K8S cluster.

Navigate to,
- Jenkins -> Credentials
- Select Kind as a secret file
- Browse and load your ~/.kube/config file
- Fill ID, Description and Save.
Now select,
- Kind as Kubernetes configuration (kubeconfig)
- Fill ID and Description
- Select Enter directly in front of Kubeconfig option
- Copy and paste your ~/.kube/config content and Save
- You can choose either From a file on the Jenkins master or From a file on the Kubernetes master node options as well.
The next step is configuring Clouds in Jenkins.
Navigate to,
- Jenkins -> System Configurations -> Cloud
- Select the Credentials that we created in step 1 and click on Test Connection
- You should receive Connection test successful message

But my pipeline is failing with error,
ERROR: [kubernetes-cli] unsupported credentials type  

Any Idea?

You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit