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

Feature Request: Intercept Service while opting out of live traffic #3713

Open
sruffatti opened this issue Oct 28, 2024 · 3 comments
Open

Feature Request: Intercept Service while opting out of live traffic #3713

sruffatti opened this issue Oct 28, 2024 · 3 comments
Assignees

Comments

@sruffatti
Copy link

Please describe your use case / problem.
We are trying to figure out the best way to handle app config for local development. Telepresence being able to retrieve env vars and secrets for a given pod is very intriguing. However, we do not want to intercept a service to get the env vars because we don't want to receive live traffic. If we need to intercept a service to get the env vars, then we'd like to opt-out of receiving live traffic.

Describe the solution you'd like
The ability to intercept a Pod to get env vars and opt-out of receiving live traffic.

@thallgren
Copy link
Member

@sruffatti , while looking at this, I'm contemplating adding a new command. Sure, we could just add a --traffic=false flag or similar to the existing intercept command, but the term "intercept" is very much about that traffic. In addition to this, a --traffic=false would also invalidate existing flags like --port, --address, and --mechanism.

Being the reporter here, do you have any proposals for a name for this new command?

@sruffatti
Copy link
Author

New command makes the most sense to me and I agree "intercept" is very much about the traffic.

Here are a few ideas, "inspect", "import", "ingest", "environment"... @thallgren

@thallgren thallgren self-assigned this Nov 1, 2024
@thallgren
Copy link
Member

Thanks. Those a all good. My favourite is "ingest". It's not loaded with other meanings in the developer world and it covers something that provides an environment, mounts, and the ability to map ports to a remote localhost fairly well.

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

2 participants