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

Failed to create kubernetes client: invalid configurations: no configuration has been provided #224

Open
npattanayak opened this issue Jul 25, 2022 · 0 comments

Comments

@npattanayak
Copy link
Contributor

For clusters hosted on aws , for which we do not want to give access to the kube config file in the root directory, we can get the configurations from "/var/run/secrets/kubernetes.io/serviceaccount/token" . We can thus use a flag which allows us to turn off privileged access and thereby gets cluster config from rest.InClusterConfig() in Clientcmd.BuildConfigFromFlags

Here is the link to the PR : https://github.com/salesforce/sloop/pull/223

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