Bridge-To-Kubernetes icon indicating copy to clipboard operation
Bridge-To-Kubernetes copied to clipboard

Propagate Environment Variables to VSCode Testing Frameworks

Open alexwilson1 opened this issue 9 months ago • 0 comments

We have some Python integration tests that are only able to run when they have environment variables from the cluster available. When using B2K and running a Python app normally (e.g. debug) it works, however, the Python tests and the Pytest framework don't seem to have access to the cluster environment variables.

If I run a 'printenv' in the terminal (after bridging kubernetes) I also don't see any of the cluster environment variables available. Could be related?

Would appreciate any pointers on how to get this working. Thanks for the great extension!

Version: 1.88.1
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:43:08.196Z (3 wks ago)
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

alexwilson1 avatar May 03 '24 01:05 alexwilson1