Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add new plugin "konfig" #122
This is a small wrapper script around the
Checklist for plugin developers:
Apr 8, 2019
Thanks for your new plugin contribution.
This basically doesn't provide any new functionality, it just makes the functionality existing in
As a matter of fact, I wrote a blog post about these kubectl features because they aren't very discoverable and/or not widely known: https://medium.com/@ahmetb/mastering-kubeconfig-4e447aa32c75
So far we've been cautious about accepting such plugins and been putting them on
@juanvallejo what are your thoughts on such plugins that provide a light shim over kubectl that don’t add new functionality but make existing functionality more discoverable?
@ahmetb Yeah, that's absolutely fine. I kind of had the same stance against the config-merge in go #73. However, I realized that I had written such a kubectl wrapper for myself, because I rarely needed config-merge, but when I did, I had forgotten how to do it. Therefore I think it could be helpful for others too.
Btw, I took your nice article as reference ;)
Well.. this is a bit odd. Other names I can come up with:
I also plan to extend the tool to extract a kubeconfig for several contexts from any number of input kubeconfig files. That means option 2 may be more suited after all. WDYT?
I'll be away for a few days, so don't expect updates soon.
[APPROVALNOTIFIER] This PR is APPROVED
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing