Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't bind User-scoped kubeconfig #147

Open
youctac opened this issue Dec 24, 2020 · 0 comments
Open

Can't bind User-scoped kubeconfig #147

youctac opened this issue Dec 24, 2020 · 0 comments

Comments

@youctac
Copy link

youctac commented Dec 24, 2020

Hello everyone!

In case of global credential kubeconfig binding work fine with code as it says in docs
withCredentials([kubeconfigFile(credentialsId: 'global_credential_kubeconfig', variable: 'KUBECONFIG')]) {
// some block
}

but in user-scoped kubeconfig case it failed
withCredentials([kubeconfigFile(credentialsId: 'user-scoped_credential_kubeconfig', variable: 'KUBECONFIG')]) {
// some block
}

with error
Cannot find kubeconfig credentials with ID

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant