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

Customize isolateAs per user #35

Open
lb7 opened this issue Feb 24, 2023 · 3 comments
Open

Customize isolateAs per user #35

lb7 opened this issue Feb 24, 2023 · 3 comments
Labels
enhancement 🧑‍🔧💡 New feature or request

Comments

@lb7
Copy link

lb7 commented Feb 24, 2023

I'm looking to enable this extension in a new project that will have many developers working on it. I've set it up and it works great. Ideally I'd like to have the isolateAs feature turned on so we can have one cluster that we use for development. This would enable us to not have the whole system running on each dev's machine for day-to-day work.

Would it be possible to enable some kind of random generation or user input for the string that we use to isolate a pod? With VSCode's default functionality, we can't inject variables into most task properties, otherwise we could just do something like "isolateAs": "${env:USERNAME}-f817.

I'm willing to open a PR for this if you're not able to take this on right now. Thanks!

@lb7
Copy link
Author

lb7 commented Feb 24, 2023

Also, if there's any sort of workaround to this, I'm open to that as well

@hsubramanianaks
Copy link
Collaborator

@lb7 Apologies for late reply. did you find the workaround? Feel free to open a PR for this. Thanks.

@lb7
Copy link
Author

lb7 commented May 25, 2023

@hsubramanianaks Hi! I have not found a workaround but we haven’t been working out of a shared cluster just yet so it hasn’t been an issue.

I think the solution would be to add a setting to the extension so each user can override the value themselves so it’s unique.

I this something y’all might have bandwidth for? I may be able to take a stab at a PR at some point if not

@hsubramanianaks hsubramanianaks added the enhancement 🧑‍🔧💡 New feature or request label Jun 2, 2023
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