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

Keep this repo with krew-index in sync? #4

Open
corneliusweig opened this issue Nov 19, 2019 · 6 comments
Open

Keep this repo with krew-index in sync? #4

corneliusweig opened this issue Nov 19, 2019 · 6 comments
Assignees

Comments

@corneliusweig
Copy link

corneliusweig commented Nov 19, 2019

👋 Hello, maintainer of the kubectl plugin manager krew here.

You are doing great work to collect all these kubectl plugins in this place. What would you think if all of these plugins were also available via krew? This would immediately increase the visibility for the plugins due to krew's large user basis.

However, for us it's hard to track what's going on everywhere in kubectl-land. And we could use your help to keep krew-index up-to-date. So what do you think about opening a new issue in krew-index whenever there is a new addition to the list you maintain here?

Also see kubernetes-sigs/krew-index#349
/cc @ahmetb
/cc @ferhatelmas

@corneliusweig corneliusweig changed the title Keep this repo with krew in sync? Keep this repo with krew-index in sync? Nov 19, 2019
@ishantanu
Copy link
Owner

Hi @corneliusweig. Agreed. This sounds like a nice idea. I will make sure to create a new issue in krew-index when I add new plugins to the list.

@ishantanu ishantanu self-assigned this Nov 20, 2019
@corneliusweig
Copy link
Author

Perfect! It's good to know that you are also keeping an eye open for additions to krew. Don't forget to involve the plugin authors 😉

@corneliusweig
Copy link
Author

@ishantanu As you may be aware, @chriskim06 has implemented custom plugin indices for krew (kubernetes-sigs/krew#566). This opens an opportunity for independent collections of kubectl plugins. You could now offer your curated list of kubectl plugins as a krew index, and simplify installation for everyone. See https://krew.sigs.k8s.io/docs/user-guide/custom-indexes/ for how it's done.

The core k8s.sigs.io/krew-index will continue to be curated by the krew folks, but it's likely we will reject plugins more often now (e.g. when plugins have too much overlap, or there are naming issues). Nevertheless, it would be good to have a more liberal collection which has a smaller entry barrier. This gap could be filled by your repository, if you want to take up this work.

cc @ahmetb @chriskim06

@ishantanu
Copy link
Owner

Hi @corneliusweig. This sounds like a very good idea. I looked at the custom-indexes documentation and while it was quite straightforward to understand, it didn't mention the repository structure required for other repositories to be used as indexes. I presume it should be similar to krew-index's structure (i.e. having a plugin directory inside a repository which contains plugin yaml's)?

This is a welcome addition to krew, and I can surely work on making this plugin list available for installation via krew.

@ahmetb
Copy link

ahmetb commented Aug 31, 2020

Read https://krew.sigs.k8s.io/docs/developer-guide/custom-indexes/

@ishantanu
Copy link
Owner

That answers everything, thanks.

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

3 participants