1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Commit Graph

473 Commits

Author SHA1 Message Date
Roman
b6a6dadfce
Fix: sync in sub-frames for common-stores are broken (#724)
* fix: sync in sub-frames for common-stores are broken

Signed-off-by: Roman <ixrock@gmail.com>

* clean up

Signed-off-by: Roman <ixrock@gmail.com>
2020-08-20 20:33:06 +03:00
Roman
86e1e23ccd
fix: incorrect path to install/re-install features (#723)
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-20 18:27:20 +03:00
Gerasimos (Makis) Maropoulos
1cf446ea98
Fix misspell (#662)
Signed-off-by: Gerasimos (Makis) Maropoulos <kataras2006@hotmail.com>
2020-08-20 10:21:54 +03:00
Lauri Nevala
f958e1c760
Return KubeObject for successfully created unknown resources (#617)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-20 10:04:12 +03:00
Roman
5670312c47
Migrating Vue components to React and stores refactoring (#585)
Signed-off-by: Roman <ixrock@gmail.com>

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-08-20 08:53:07 +03:00
Trevor Nichols
905bbe9d3f
Handle status values that contains an object (#693)
Signed-off-by: Trevor Nichols <trevor@theredfox.group>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-08-19 17:49:17 +03:00
Jim Ehrismann
0a5626fdb7
Added load-balancer hostname/IP to ingress details (#675)
* Added load-balancer hostname/IP to ingress details

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

* lint fixes

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-08-14 11:04:39 -04:00
Jari Kolehmainen
81796af508
Update copyright, eula and contact details (#690)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-08-14 16:05:57 +03:00
Alex Andreev
30c14eb6da
Fixing role binding details view without subjects (#688)
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
2020-08-14 14:39:28 +03:00
Sebastian Malton
e249769562
Add support for customreasourcedefinitions under the v1 API (#658)
* Add support for customreasourcedefinitions under the v1 API
* moving store and views to use v1

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-08-12 09:08:40 -04:00
Daniil Kolesnik
acfd1828eb
fix: 🐛 Change kind to "Enpoints" in renderer (#672)
 Closes: #646

Signed-off-by: Daniil Kolesnik <not.randome@gmail.com>
2020-08-12 09:14:37 +03:00
Sebastian Malton
858ab88940
use the Kubernetes regex for matching system names (#659)
* use the Kubernetes regex for matching system names

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-08-07 16:24:47 -04:00
Jim Ehrismann
693017d2ec
adding port-forward for containers in pods (#528)
* adding port-forward for containers in pods

address review comments

use more idiomatic approach for async code

move some files in advance of merge conflict with Lens restructure work

* Separate the port forward links in the UI (so they don't all spin when one link is clicked)

* minor fixes

* addressed review comments (replaced <p> with <div>, moved key attribute to proper element)

* fix lint issue

* removed extraneous <div> from pod container port details

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-08-07 11:30:37 -04:00
Sebastian Malton
0c3be9bbae
Fix Resource Quota Rendering (#624)
* add parsing of quota values which are non-numeric in the general case

* add unit tests

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-08-04 13:14:02 -04:00
Lauri Nevala
7f65f1ea06
Fix CRD api parsing (#622)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-07-31 09:50:57 -04:00
Sebastian Malton
4bd29a6d88
fix format duration rounding days error (#582)
* fix format duration rounding days error
* added tests

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-07-15 09:45:52 -04:00
Jussi Nummelin
55687b7d35
Kubeconfigs as file references (#466)
Signed-off-by: Jussi Nummelin <jussi.nummelin@gmail.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-07-03 16:53:23 +03:00
Lauri Nevala
c15aa7972c
Remove redundant applyHeaders method (#469)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-07-03 11:22:58 +03:00
Jari Kolehmainen
69778d5dcc
Show devtools always in menu (#559)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-07-03 11:13:53 +03:00
Jari Kolehmainen
097776411f
Use LensDev on development environment (#557)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-07-03 08:32:12 +03:00
Roman
5f4e1253a9
Replace webview tag to iframe (#554)
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-02 17:31:59 +03:00
Roman
d90be46a1f
use common vars in router, minor clean up (#551)
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-02 17:21:38 +03:00
Roman
b7974827d2
Lens restructure (#540)
Signed-off-by: Roman <ixrock@gmail.com>
2020-06-30 14:35:16 +03:00
Lauri Nevala
907e96c7a0
Fix lint issue (#516) 2020-06-24 13:43:12 +03:00
Jim Ehrismann
cd66a985cc
modified Kubectl.checkBinary() to test the binary for the right version instead of using the eTag (#510)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-06-23 15:54:18 +03:00
Sebastian Malton
f620b3198f
Fix pasting unicode into terminal sometimes not working (#492)
* add LANG env with UTF-8 specified

* fix precedence of union of env objects

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-23 08:37:35 -04:00
Lauri Nevala
b8c1d78157
Open external links in web browser (#506) 2020-06-22 23:27:49 +03:00
Sebastian Malton
bce7aec87d
Fix parseAPI not working with non-"namespaces" pathnames. (#450)
* fix parseApi not accepting versions that don't start with 'v'
* add unit tests

Signed-off-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-16 10:51:39 -04:00
Jari Kolehmainen
47082adecd
Fix shell env cache (#461)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-15 14:02:44 +03:00
Sebastian Malton
8f0c785f58
Revert "Fix parseApi not accepting versions that don't start with 'v' (#441)" (#448)
This reverts commit 00557c9940.
2020-06-12 07:34:07 +03:00
Sebastian Malton
00557c9940
Fix parseApi not accepting versions that don't start with 'v' (#441)
* fix parseApi not accepting versions that don't start with 'v'

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-11 13:19:01 -04:00
Jari Kolehmainen
8e514df70e
Track telemetry pref changed event (#445)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-11 13:50:43 +03:00
Lauri Nevala
78eeef2805
Close proxy server on app quit (#413)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-10 17:00:17 +03:00
Jari Kolehmainen
deb4bf2f7b
Integration tests using spectron (#410)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-09 13:18:24 +03:00
Lauri Nevala
af24da976b
Kill shell process by pid on Windows (#411)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-09 13:16:39 +03:00
Jari Kolehmainen
ac03982c80
Change community slack urls (#405)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-05 09:11:35 +03:00
Jon Stelly
9b680640c9
Add arch node selector for hybrid clusters (#400)
Signed-off-by: Jon Stelly <967068+jonstelly@users.noreply.github.com>
2020-06-05 08:41:08 +03:00
Jari Kolehmainen
a7cb8d2d04
Dynamic dashboard UI based on RBAC rules (#366)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-05 08:38:56 +03:00
dave93cab
0248189c45
typo/translation correction: transit to transmit (#359)
Signed-off-by: Dave Thomas <davejonthomas@gmail.com>
2020-06-04 12:44:08 +03:00
Jari Kolehmainen
50dfd4fa63
Unify scrollbars/paddings across supported OS (#367)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-01 15:42:34 +03:00
Jari Kolehmainen
ac32a3686e
Remove Kontena reference from Lens logo (#357)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-12 20:36:58 +03:00
Adam Malcontenti-Wilson
e21e0b577b
Replace admin check with check for access (#297)
Signed-off-by: Adam Malcontenti-Wilson <adman.com@gmail.com>
2020-05-09 18:25:34 +03:00
Jari Kolehmainen
5cd00bd77a
Prometheus provider/path related ui fixes (#354)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-09 09:04:38 +03:00
Lauri Nevala
bba6eb743d
Add support for Prometheus api prefix (#341)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-05-06 20:37:32 +03:00
Jari Kolehmainen
5c1974f07b
Auto-detect prometheus installation (#343)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-06 18:55:49 +03:00
Alexis Deruelle
6412d73a5a
Fix port availability test (#333)
* Let OS allocate port number

Port availability might be tricky if some port is already in use on the
'all' interface '0.0.0.0'.

The proposed solution is to let the OS allocate the port for us using 0
as port specifier :

- first create a server instance to allocate a port number
- save port number
- close the server
- return the port number to the caller

This should be safe granted the OS doesn't reuse the port numbers on
consecutive port allocations.

see :
- about Node.js Net module : https://nodejs.org/docs/latest-v12.x/api/net.html#net_server_listen_port_host_backlog_callback
- about safety around reusing port number : https://unix.stackexchange.com/a/132524

Signed-off-by: Alexis Deruelle <alexis.deruelle@gmail.com>
2020-05-05 07:31:58 +03:00
Jari Kolehmainen
8d2e8bbe62
Delay webview create on cluster page (#332)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-03 10:29:32 +03:00
Jari Kolehmainen
03aab714d8
Fix no-drag css (#331)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-01 10:39:53 +03:00
Lauri Nevala
724cf0c687
Allow to select Prometheus query style (#312)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-05-01 09:37:05 +03:00
Jari Kolehmainen
b371e8e9f8
Fix node shell session regression (#326)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-30 17:05:45 +03:00
Jari Kolehmainen
0f708c7fc5
improve dashboard reload (#327)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-30 16:52:04 +03:00
Jari Kolehmainen
260de08c72
Update metrics feature components (#301)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-28 08:41:04 +03:00
Jari Kolehmainen
b8fd4040a1
Terminal tab auto-close fixes (#314)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-28 08:31:22 +03:00
Jari Kolehmainen
105021509c
Cleanup cluster webview loading (#313)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-28 08:26:27 +03:00
Jari Kolehmainen
81c7590732
Cache terminall shell env (#274)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-21 19:49:23 +03:00
Lauri Nevala
01e2ef50b1
Update @kubernetes/client-node to 0.11.1 (#278)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-04-20 16:17:59 +03:00
Lauri Nevala
ac552087d5
Do not timeout watch requests (#273)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-04-19 17:48:14 +03:00
Jari Kolehmainen
298636b8f1
Fix default workspace remove (#242)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-13 18:21:25 +03:00
Jari Kolehmainen
d80e956870
Fix use of bundled kubectl (#241)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-11 17:48:29 +03:00
Miska Kaipiainen
758034f61a
Clean up legacy references to Kontena (#216)
Signed-off-by: Miska Kaipiainen <miska.kaipiainen@gmail.com>
2020-04-11 14:38:53 +03:00
Jari Kolehmainen
806d8c6716
Initial port-forward implementation for services (#231)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-10 11:05:37 +03:00
Jari Kolehmainen
8c348f076e
Fix bundled helm3 binary on windows (#233)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-09 17:58:12 +03:00
Jari Kolehmainen
f23da9ccad
Bundle helm3 binary (#220)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-06 18:18:18 +03:00
Jari Kolehmainen
2593f70184
Always end watch stream if connection to kube-api ends (#217)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-04 18:26:42 +03:00
Lauri Nevala
b95e45b75b
Catch ipc errors on proxy exit (#214)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-04-03 19:50:41 +03:00
Christopher Biggs
70abf73176
SelfSubjectAccessReview use 'pods' resource (#204)
Signed-off-by: Christopher biggs <christopher.l.biggs@gmail.com>
2020-04-03 19:44:50 +03:00
Lauri Nevala
eab8231f92
Send Content-Type header on response for asset request (#190)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-04-01 07:20:40 +03:00
Jari Kolehmainen
5c2e64b487
Add kubectl/helm download mirror select to preferences (#185)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-01 07:19:10 +03:00
Lauri Nevala
f432d7e2c0
Unlink binary download on error properly (#162)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-03-27 07:40:31 +02:00
Jari Kolehmainen
39fdcdb54a
Don't retry metrics on 404 status code (#152)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-24 19:06:56 +02:00
Jari Kolehmainen
1aaa695cfe
Refactor dashboard server logic to electron main (#146)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-24 07:37:47 +02:00
Krakaw
a35eedd17c Updated manifest metric preview url
Signed-off-by: Krakaw <41575888+Krakaw@users.noreply.github.com>
2020-03-17 14:57:43 +02:00
Jari Kolehmainen
1d0815abd2
Lens app source code (#119)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-15 09:52:02 +02:00