-
Enhancement
-
Resolution: Done
-
Major
-
4.14.0.Final
-
None
-
Sprint #205 Aug 2021
-
8
We should add proxy support for the odo based explorer. This requires to set up HTTPS_PROXY env variable when launching odo if proxy is required for the cluster url.
I would recommand the following changes:
- OpenShiftClient should be now private to the OdoCli
- Modify Odo interface so as to remove the OpenShiftClient from the parameters
- Add a new reset method to Odo interface that will be called when the context is reset or add a new OdoFactory that will be called when context is reset. We will allocate the OpenShiftClient here and compute the HTTP_PROXY env variable if proxy is required for this cluster
- Modify odo launch calls so as to pass this env var each time odo is launched