Need help with withKubeConfig

I followed the steps in the video but unfortunately he doesn’t show how to configure kubeConfig.
and I have not found any good example online so any help will be appreciated

Hi @souseu81

Thank you for your question, can you please send us link to the video you follow


this is link

withKubeConfig([credentialsId: ‘kubeConfig’])

hi souseu81, i have the same problem too. just a few check, does your secrets id have a capital c, eg kubeConfig or kubeconfig, it has to be the same as the secrets id. another thing is to check the created kubeconfig, the pasted text have to be free from space in each of the full line text. hope it helps.

Hello @subhajeetsur,
Thanks for sharing.