1
0
mirror of https://github.com/lensapp/lens.git synced 2024-11-10 10:36:25 +03:00
Commit Graph

661 Commits

Author SHA1 Message Date
Roman
d281ff4a21
Fix: missing dependent types for Select and Slider components (#1828)
* Types for Select and Slider components are not fully exported, fix #1824

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

* remove unused @types/material-ui package

Signed-off-by: Roman <ixrock@gmail.com>
2020-12-22 14:38:06 +02:00
Jari Kolehmainen
270fadf6fe
Fix namespace store subscribe (#1826)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-22 07:43:34 +02:00
Lauri Nevala
e8f36e97a3
Parse jsonPath expressions (#1793)
* Fix jsonPath calls by removing \ characters and using $..[] notation

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Parse jsonPath properly

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Cleanup

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* More cleanup

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Improve parsing

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Finetuning

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Stringify children only if value is object or array

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Test other escaped characters do not cause issues

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-21 22:16:57 +02:00
Jari Kolehmainen
c8a93414b2
Render node list before metrics are available (#1827)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-21 22:15:08 +02:00
Jari Kolehmainen
c839e6fdfc
Fix proxy retry counter cleanup on success (#1825)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-21 22:10:32 +02:00
Jari Kolehmainen
d35feab6ea
Kube state metrics 1.9.7 (#1821)
* kube-state-metrics v1.9.7

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* bump metrics-cluster-feature version

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-21 17:35:28 +02:00
Alex Andreev
42817a6d97
Fix: expand/collapse state for CRD sidebar items (#1751)
* Moving SidebarNavItem component to its own file

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Using id prop to preserve expanding state

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-18 15:42:10 +02:00
Jari Kolehmainen
6fe5bfae5c
Generate metadata.selfLink if response does not have it (#1804)
* generate metadata.selfLink if response does not have it

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix watches

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* cleanup

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-18 15:03:04 +02:00
Jari Kolehmainen
06041e6169
Test different kube versions (#1806)
* test different kube versions

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* tweak

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* tweak

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* tweak

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-18 12:41:17 +02:00
Jari Kolehmainen
2efd176780
Bundle kubectl v1.17.15 (#1800)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-18 08:18:05 +02:00
Jari Kolehmainen
804492251d
Fix MacOS error on shutdown (#1798)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-18 08:17:27 +02:00
Lauri Nevala
64888652c4
Fix Azure distribution detection (#1795)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-17 19:56:24 +02:00
Jari Kolehmainen
de7bd32bc2
Fix Openshift distribution detector (#1792)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-17 19:54:30 +02:00
nyako
733fc8a658
fix "not valid as a React child" error while display crds with column which type is object (#1772)
Signed-off-by: liuhongyu <lhy990409@gmail.com>
2020-12-17 08:24:57 -05:00
Sebastian Malton
be3aa88fd4
use remote.app if app is not defined (#1785)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-12-17 08:24:25 -05:00
Jari Kolehmainen
ed036d1f99
Install in-tree extensions before others (#1782)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-15 14:15:04 +02:00
Jari Kolehmainen
11b1115871
Metrics-cluster-feature: bundle semver package (#1781)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-15 13:54:43 +02:00
Jari Kolehmainen
a9a27a13ed
Switch master branch version to 4.1.0-alpha.0 (#1766)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-15 08:44:48 +02:00
pauljwil
c609ea1d96
Reworked Extension Guides (#1727)
Edited and reworked content in the Extension Guides Overview and the Generator and Main Extension guides.

Signed-off-by: Paul Williams <pawilliams@mirantis.com>

Update docs/extensions/guides/main-extension.md

Co-authored-by: Panu Horsmalahti <panu.horsmalahti@iki.fi>

Update docs/extensions/guides/generator.md

Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
Signed-off-by: Paul Williams <pawilliams@mirantis.com>

Co-authored-by: Paul Williams <pawilliams@mirantis.com>
Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
2020-12-15 11:55:04 +08:00
Panu Horsmalahti
3300a99a78
Display error dialog if extensions couldn't be loaded (#1752)
* Display error dialog if extensions couldn't be loaded
* Reject npm install on failure using the process exit code

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-12-14 09:23:59 +02:00
Mario Sarcher
e408b0c6d9
Export the pod-details-list component so that it can be used in Extensions (#1746)
Signed-off-by: Mario Sarcher <msarcher@mirantis.com>

Co-authored-by: Mario Sarcher <msarcher@mirantis.com>
2020-12-13 19:14:02 +02:00
Jari Kolehmainen
2a7fc87134
Ensure only one app instance (#1742)
* force only one app instance

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-13 19:11:37 +02:00
Jari Kolehmainen
da6c114b68
Exclude github actions & docs from azure pipeline (#1655)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-13 19:09:03 +02:00
Violetta
abd4223675
Add information about the startupProbe (#1538)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2020-12-13 19:08:26 +02:00
Lauri Nevala
1e76e8c06c
Ensure telemetry report is sent on extensions start (#1753)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-11 14:07:07 +02:00
Jari Kolehmainen
3b65019dcb
Use correct apiversion for HPA details (#1745)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-11 13:13:40 +02:00
Jari Kolehmainen
ff9e96d880
Fix buggy node metrics/chart (#1748)
* fix buggy node metrics/chart

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix linter error

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-11 11:21:35 +02:00
Alex Andreev
b33629d24f
Replace cronjob api version to batch/v1beta1 (#1747)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-11 11:21:43 +03:00
Alex Andreev
a61e20965d
ClusterOverview page refactorings (#1696)
* ClusterOverview page refactorings

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Minor test fix for MainLayoutHeader

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Replacing class name in tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Remove unnecessary parenthesis

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-11 07:36:47 +02:00
Violetta
961a38d52f
Fix Deployment Scale Button "minus" (#1728)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2020-12-10 21:18:30 +02:00
Violetta
d143b234b7
Full support for ReplicaSets (#1704)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2020-12-10 15:23:51 +03:00
Panu Horsmalahti
d961d8b159
Remove symlink on extension install and manual runtime uninstall (#1718)
* Remove broken symlink on extension install

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Remove broken symlink on manual uninstall during runtime

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-12-10 12:39:37 +02:00
Alex Andreev
0facd34738
Fixing logs autoscroll behavior (#1720)
* Fixing autoscroll behavior

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Making statement simpler to read

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-09 21:03:16 +03:00
Jari Kolehmainen
fc20b22bb5
Do not call initMainWindow if windowManager is not ready (#1714)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-09 09:19:28 +02:00
Panu Horsmalahti
ec0a90343e
Remove broken symlink from node_modules on uninstall (#1695)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-12-08 21:04:01 +02:00
Panu Horsmalahti
172b2a9c9f
Add check to extension file watch (#1677)
* Add check to extension file watch

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Fix tests

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Fix tests on Windows.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Add logging for Windows test debugging purposes.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Try to fix tests on Windows again.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-12-08 17:30:47 +02:00
pashevskii
aa1d6bb338
Fix status brick in pod-menu-extension (#1698)
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com>
2020-12-08 16:30:58 +02:00
Jari Kolehmainen
69208fdfe6
Query all objects using single api call if admin and namespace list is not overridden (#1692)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-08 16:08:28 +02:00
pashevskii
b7e5fb78d9
Add posibility to add custom repository (#1368)
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com>
2020-12-08 15:54:49 +03:00
Jari Kolehmainen
8a4be72740
Register cluster page component properly to a route (#1688)
* remove observer from app class

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* proper fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-08 13:21:18 +02:00
Miska Kaipiainen
993061e4a7
Yet another minor fix to main readme (#1681) 2020-12-08 10:48:27 +02:00
Alex Andreev
665ed94128
Adding cluster settings icon into dashboard (#1672)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-08 10:31:58 +03:00
Jim Ehrismann
831fb80bfe
extension store guide (#1663)
* extension store guide

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

* improve docs as per reviews and rereading

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

* more doc tweaks

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-12-07 15:25:17 -05:00
Miska Kaipiainen
1cc2c58a40
minor readability fix for main readme (#1678) 2020-12-07 21:25:10 +02:00
Miska Kaipiainen
dd2c63edd7
update main readme to align better with Lens 4.0 features (#1676) 2020-12-07 17:58:00 +02:00
Sebastian Malton
22a8442a89
Write up on some ways to publish extensions (#1660)
* write up on some ways to publish extensions

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* tweak text

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-07 14:43:36 +02:00
Jari Kolehmainen
8f27559053
Tag cluster & workspace as beta features in extension api (#1589)
* mark cluster & workspace as beta

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* back to public

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-07 13:38:40 +02:00
Lauri Nevala
d3026d4dd0
Add initial KubeObjectListLayout sample (#1662)
* Add initial KubeObjectListLayout sample

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Fine tuning

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Fix typos

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-07 12:46:39 +02:00
Lauri Nevala
54a76a009c
Initial FAQ docs (#1667)
* Initial FAQ docs

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Fix typos

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-07 11:08:30 +02:00
Jari Kolehmainen
4ea265671b
Detect Openshift (#1625)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-07 09:17:19 +02:00