1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/main
Jim Ehrismann 07c8177a97
Feature/port forward dashboard (#3922)
* Added ability to add custom port on pod and service port forwarding (#3295)

* Added ability to add custom port on pod and service port forwarding

Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com>

* Added ability to add custom port on pod and service port forwarding

- pod-container-port fixed init async and active port checking
- service-port-component fixed init async and active port checking
- port-forward-route promise and response fix

Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com>

* Added ability to add custom port on pod and service port forwarding

Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com>

* - Added Custom Port Selection for port forwarding
- Implemented Random Port if custom port is not provided

Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com>

Co-authored-by: Saumya Shovan Roy <saumyashovanroy@gmail.com>

* cherry-pick of hackweek work plus merge conflicts/build errors

    added a route to get all port forwards

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

    Added Forwarded Ports to cluster dashboard

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

    working port-forward page (open, edit, remove)

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

    added local storage to the port-forward store

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

    automatically restore port-forward after pod is restarted

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

    start port-forwards using random local port by default, rearranged pod and service port-forward UI

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* refactor

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* more refactoring, don't always open port-forwards in browser, refined reused port-forward dialog

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* removed unimplemented forwarded port details page,modified logging

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* addressed some review comments

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* made port and forwardPort query params and cleaned up port-forward routing paths

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* address more review comments and change dashboard tab name to 'Port Forwarding'

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* changed port and forwardPort fields to be Numbers

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* removed extraneous reset() call, reorder field declarations

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* port-forward now gets the bundled kubectl path without going through the 'ensureKubectl' hoops

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* more cleanup/tweaking

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* fix bug where port-forward info did not update on pod details page when different pod (in same deployment?) is clicked

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

Co-authored-by: Saumya Shovan Roy (Deep) <12953177+rdeepc@users.noreply.github.com>
Co-authored-by: Saumya Shovan Roy <saumyashovanroy@gmail.com>
2021-10-07 15:51:26 -04:00
..
__test__ Detect log follow requests (#3890) 2021-09-27 19:45:37 +03:00
catalog Support filtering catalog entities (#3647) 2021-08-31 16:00:56 +03:00
catalog-sources TopBar home icon (#3740) 2021-09-07 15:18:46 +03:00
cluster-detectors Detect rancher desktop (#3711) 2021-09-01 16:32:10 +03:00
helm Build and release amd64 & arm64 together (macOS) (#3700) 2021-08-31 11:00:27 +03:00
initializers Fix local cluster delete flow (#3473) 2021-09-08 15:06:14 +03:00
prometheus Fix prometheus operator support (#3653) 2021-10-05 12:35:57 -04:00
protocol-handler Bump url-parse from 1.5.1 to 1.5.3 (#3813) 2021-10-01 17:07:55 -04:00
proxy-functions Inject handlers into LensProxy to remove circular-deps (#3546) 2021-08-04 19:18:01 -04:00
routes Feature/port forward dashboard (#3922) 2021-10-07 15:51:26 -04:00
shell-session Fix node shell secret pulling (#3668) 2021-09-01 12:49:00 +03:00
utils Use JSON patch for editing components (#3674) 2021-10-04 16:28:19 -04:00
app-updater.ts Automatically check next pre-release channel (#3737) 2021-09-09 09:30:41 +03:00
catalog-pusher.ts Add context menu entry for deleting local clusters (#2923) 2021-06-17 12:19:22 -04:00
cluster-manager.ts Don't override entity source on cluster icons (#3928) 2021-10-04 14:38:14 -04:00
cluster.ts Fix local cluster delete flow (#3473) 2021-09-08 15:06:14 +03:00
context-handler.ts Detect log follow requests (#3890) 2021-09-27 19:45:37 +03:00
developer-tools.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
exit-app.ts Upgrade to electron 12 and Node 14 (#3572) 2021-08-26 12:13:31 -04:00
extension-filesystem.ts Upgrade to electron 12 and Node 14 (#3572) 2021-08-26 12:13:31 -04:00
index.ts Use correct working directory (OpenLensDev) on dev mode (#3709) 2021-09-01 16:32:33 +03:00
k8s-request.ts Refactor k8s api to common (#3553) 2021-08-10 13:26:14 +03:00
kube-auth-proxy.ts Fix kube auth proxy race condition (#3458) 2021-07-21 11:50:43 -04:00
kubeconfig-manager.ts Allow to configure default namespace used in terminal (#3706) 2021-09-01 12:50:11 +03:00
kubectl_spec.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
kubectl.ts Fix fallback to bundled kubectl (#3812) 2021-09-15 09:36:19 -04:00
lens-binary.ts Support MacOS arm64 build (#3682) 2021-08-26 14:46:46 -04:00
lens-proxy.ts Detect log follow requests (#3890) 2021-09-27 19:45:37 +03:00
logger.ts Refactor k8s api to common (#3553) 2021-08-10 13:26:14 +03:00
menu.ts Switch integration tests to get application menus by IDs (#3912) 2021-10-07 15:30:52 -04:00
promise-exec.ts Add context menu entry for deleting local clusters (#2923) 2021-06-17 12:19:22 -04:00
proxy-env.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
resource-applier.ts Use JSON patch for editing components (#3674) 2021-10-04 16:28:19 -04:00
router.ts Feature/port forward dashboard (#3922) 2021-10-07 15:51:26 -04:00
shell-sync.ts Fix shell-env timeout (#2938) 2021-06-09 14:54:19 -04:00
tray.ts Fix spelling (#3181) 2021-07-16 08:53:01 -04:00
window-manager.ts Electron 13.4.0 (#3820) 2021-09-27 11:32:37 +03:00