alebcay / openlens-node-pod-menu

Node and pod menus for OpenLens
https://www.npmjs.com/package/@alebcay/openlens-node-pod-menu
MIT License
826 stars 46 forks source link

Use proxy settings if not included in kubeconfig #114

Open sanmai-NL opened 1 year ago

sanmai-NL commented 1 year ago

The kubectl exec command generated by this extension spawns in the OpenLens terminal. The terminal does not have a proxy environment variable set, even if OpenLens does have a setting to that effect. Generate a command line with env https_proxy=... kubectl .... That way, if someone still has to avoid or be made aware of the proxy that would be easy.