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

Remove dependency on .bash_profile (or other profiles) #28

Open
Jefferson-Faseler opened this issue Oct 9, 2020 · 0 comments
Open

Remove dependency on .bash_profile (or other profiles) #28

Jefferson-Faseler opened this issue Oct 9, 2020 · 0 comments

Comments

@Jefferson-Faseler
Copy link

Hi! Thanks for starting such a cool project! I'm already getting excited just thinking about all the possibilities.

Is your feature request related to a problem? Please describe.
I have just started using kubectl-plugins and keep forgetting to reload my terminal or open a new terminal tab. It would be great to remove some of the acrobatics required to get my clusters and namespaces protected.

Describe the solution you'd like
A simple config file living in $HOME would probably do the trick. Could get really fancy with it and even scope namespaces to clusters, give clusters shorthand names (some gke clusters have some serious character counts), and add the container registry there as well.

The only dependency on the .bash_profile (or .zshrc if Zsh support is added down the road 😜 ) would be to add the initial function.

Describe alternatives you've considered
Changing my habits and re-sourcing more often.

Additional context
I've done similar things to this before in other kubernetes projects I've done and it worked well. It was with higher-level languages, but it would still be possible for these use cases I believe.

I doubt you want to make dependencies on tools like jq or yq but something like that would make this feature request extremely easy to accomplish. Confirming some GNU/BSD compatibility could be crucial.

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

1 participant