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

Interactive tool for generating a lakeFS configuration file #445

Closed
itaiad200 opened this issue Aug 6, 2020 · 7 comments
Closed

Interactive tool for generating a lakeFS configuration file #445

itaiad200 opened this issue Aug 6, 2020 · 7 comments
Assignees
Labels
good first issue Good for newcomers hacktoberfest Issues that can get you awesome swag! new-feature Issues that introduce new feature or capability
Projects

Comments

@itaiad200
Copy link
Contributor

itaiad200 commented Aug 6, 2020

The lakefs binary uses a yaml configuration file.

As a lakeFS user, I would like a command line utility to generate this config file interactively.

Upon running "lakefs config", the user should be asked to fill in the basic information for a lakefs server to run.
A minimal configuration file example can be found here in the docs.

Example of information to get from the user:

  1. Database connection string
  2. Blockstore type.
  3. If the blockstore type is S3, choose the region and authentication method (aws profile, aws key pair, or using the instance role)
  4. S3 gateway domain name

The output should be a yaml file containing the configuration. The user should be able to specify an output destination for the file. If not specified, it should be saved to the default location: $HOME/.lakefs.yaml (with override protection).

@itaiad200 itaiad200 created this issue from a note in lakeFS (Backlog) Aug 6, 2020
@itaiad200 itaiad200 added good first issue Good for newcomers new-feature Issues that introduce new feature or capability labels Aug 6, 2020
@YaelRiv YaelRiv added the hacktoberfest Issues that can get you awesome swag! label Sep 21, 2020
@johnnyaug johnnyaug changed the title lakefs generate config Interactive tool for generationg a lakeFS configuration file Sep 24, 2020
@souvikinator
Copy link

Hey, I'm a open source newbie. I would like to work on this issue.

@YaelRiv
Copy link
Contributor

YaelRiv commented Sep 25, 2020

Hello DarthCucumber!

It's all yours. Thanks for giving us a hand 💪

Feel free to join our slack channel if you have any questions.
https://join.slack.com/t/lakefs/shared_invite/zt-g86mkroy-186GzaxR4xOar1i1Us0bzw

Many thanks,
Yael

@johnnyaug johnnyaug changed the title Interactive tool for generationg a lakeFS configuration file Interactive tool for generating a lakeFS configuration file Sep 27, 2020
@johnnyaug
Copy link
Contributor

Hey @DarthCucumber , should I assign you to this issue?

@souvikinator
Copy link

@johnnyaug yea sure I started working on it. If I face any issue can I ask on slack ?

@johnnyaug
Copy link
Contributor

Of course, please do!

@johnnyaug
Copy link
Contributor

Hey @DarthCucumber , still here? 🙂

@souvikinator
Copy link

souvikinator commented Oct 14, 2020

@johnnyaug yep, I'm almost done. I'm bit confused about the authentication method. The sample config file provided in the issue contains secret_key but authentication method is not mentioned in the sample config and also how should I deal with the input if the blockstore type is not s3

@guy-har guy-har linked a pull request Oct 21, 2020 that will close this issue
lakeFS automation moved this from Backlog to Done Jun 20, 2021
@johnnyaug johnnyaug moved this from Done to Rejected in lakeFS Jun 20, 2021
@ozkatz ozkatz moved this from Rejected to Done in lakeFS Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest Issues that can get you awesome swag! new-feature Issues that introduce new feature or capability
Projects
No open projects
lakeFS
  
Done
Development

Successfully merging a pull request may close this issue.

4 participants