-
Notifications
You must be signed in to change notification settings - Fork 923
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
Make cache-dir configurable wih env variable #1184
Comments
I understand the inconvenience in here(From the user perspective, how user knows which command uses discovery and which one not). But there is an ongoing work on discovery caching. Even though it is small, there is a probability that |
I'd take a step back as to what we were trying to achieve. The default cache is We want to be able to make the default cache It's probably a better default generally though possibly a bit linuxy "sic" for sure. |
/assign @ardaguclu |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
What would you like to be added:
Make kubectl use an optional environment variable to configure the cache-dir.
https://kubernetes.io/docs/reference/kubectl/kubectl/
--cache-dir string Default: "$HOME/.kube/cache"
Default cache directory
Why is this needed:
At the moment, users have to pass the --cache-dir option on every kubectl execution, with an environment variable (similar to KUBECONFIG), they will have to set it once.
The text was updated successfully, but these errors were encountered: