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

[Idea] Allow configuration of pattern groups through a config file #6

Open
ahmetb opened this issue Aug 18, 2022 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@ahmetb
Copy link
Owner

ahmetb commented Aug 18, 2022

What if there was a file that holds common queries, in a rc file somewhere on the home dir:

e.g.

context-groups:
  prod-new:
    include: "/prod/"
    exclude: "^/legacy/"
  stg:
    include: "/stg/"
$ kubectl allctx -g prod -- get nodes # g used as a flag for context group 
@pehlicd
Copy link
Contributor

pehlicd commented Aug 18, 2022

It is a great idea! I will try to implement this feature and raise a PR. If you have any recommendation before I start, I am open for it.

@ahmetb
Copy link
Owner Author

ahmetb commented Aug 18, 2022

No need.
This is basically just a note so that I don't forget someday later. It doesn't mean I'm interested in adding this.

@ahmetb ahmetb added the enhancement New feature or request label Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants