Proposal: Change default location of ~/.lakectl.yaml
#7696
Labels
area/lakectl
Issues related to lakeFS' command line interface (lakectl)
improvement
product-task
python-wrapper
Why
lakectl is configured using a yaml file located in
$HOME/lakectl.yaml
.While this makes perfect sense for lakectl, it is also currently used by other lakeFS clients such as the high level python SDK - and libraries that depend on it.
This is confusing!
When
Currently I'm only aware of these 2 tools that look for this file. As time passes I'm sure more tools will follow. So soon?
How
In a non-breaking way. Allow both lakectl and the Python SDK to look for a more aptly-named
$HOME/.lakefs/client.yaml
(happy to hear better suggestions so that we don't end up replacing it yet again in the future) -- and if that doesn't exist, fall back to$HOME/.lakectl.yaml
.lakectl config
The text was updated successfully, but these errors were encountered: