Open indiejames opened 2 years ago
Hi @indiejames, thanks for reporting this issue. I'm taking a look and will try to respond on Monday.
@indiejames I was able to reproduce the issue, and I believe we have a regression in this code path. Will discuss with my colleagues today and hopefully get back to you with either a workaround or an updated timeline. In the meantime, is using Bridge w/o service environment variables a blocker for you? You might be able to declare the environment variables this way: https://docs.microsoft.com/en-us/visualstudio/bridge/configure-bridge-to-kubernetes#create-an-environment-variable-with-a-constant-value
No, this is not a blocker - I can set the environment variables manually.
Hi, I believe I'm running into the exact same issue. Are there any updates on this? Thanks
Hi @saumil-d, we haven't had time to prioritize this issue yet unfortunately, but would you be able to follow the workaround mentioned above?
Hi @amsoedal, this issue is still persisting. It seems to be only happening on Mac devices. Do you have any updates on this?
I also use Mac with the same issue.
Describe the bug When I set useKubernetesServiceEnvironmentVariables to 'true' (defaults to 'false') in the bridge-to-kubernetes.resource definition in tasks.json and launch the debugger the startup crashes with the following error:
To Reproduce After configuring for local tunneling, edit the bridge-to-kubernetes.resource task in tasks.json and set the useKubernetesServiceEnvironmentVariables entry to 'true'. Start a debug session and watch the terminal output to see the crash, followed by a popup asking if you want to abort.
**Expected behavior** The service should launch locally and run with environment variables set based on those defined in the Kubernetes cluster. **Logs** 2021-09-30T21:55:53.6974830Z | MindaroCli | TRACE | Event: Command.Start