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

705 Commits

Author SHA1 Message Date
Jari Kolehmainen
375be39291 v4.0.8
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-21 07:29:17 +02:00
Lauri Nevala
32fc5340f5 Upgrade shell-env to 3.0.1 (#1994)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-01-21 07:26:31 +02:00
Jari Kolehmainen
5ea3dd5f5b
Fix extension cluster submenu re-render (#1996)
* fix extension cluster pages re-render when they are registered as a sub-menu item

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

* lint fix

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

* refactor

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-20 16:26:47 +02:00
Jari Kolehmainen
a9d2a9ea0d
Merge pull request #1966 from lensapp/release/v4.0.7
Release v4.0.7
2021-01-20 10:51:31 +02:00
Jari Kolehmainen
dce74fee50 v4.0.7
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-19 07:00:08 +02:00
Jari Kolehmainen
b7489e75cb Enable default workspace on first boot (#1965)
* enable default workspace on first boot

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

* refactor

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

* use get/set

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-19 06:45:03 +02:00
dependabot[bot]
470b5c52ed Bump ini from 1.3.5 to 1.3.8 (#1760)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-15 16:15:07 +02:00
Lauri Nevala
afb68750a2 Prevent initializing clusters multiple times (#1950)
* Prevent initializing clusters multiple times

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

* Do not expose intializing to cluster state

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

* Convert initializing to observable and ensure it is set to false after init

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-01-15 16:14:53 +02:00
Alex Andreev
3365cecec2 Fixing multiline logs wrapping (#1938)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-15 15:56:54 +02:00
Alex Andreev
4027bbe461 Getting api by kind when editing an object (#1936)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-15 15:56:37 +02:00
Jari Kolehmainen
4843732ad9 Fix windows tray icon click (#1908)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-15 15:55:32 +02:00
Jari Kolehmainen
fa971aef5c Catch xtermjs fit error (#1907)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-15 15:55:15 +02:00
Hannes Wüthrich
6971f14002 Fix typo in prometheus ingress metrics (#1896)
Signed-off-by: Hannes Wüthrich <hannes.wuethrich@zebbra.ch>
2021-01-15 15:53:30 +02:00
Jari Kolehmainen
466bd115dc
Merge pull request #1884 from lensapp/release/v4.0.6
Release v4.0.6
2020-12-30 18:30:27 +02:00
Jari Kolehmainen
5079946869 lint fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-30 17:42:37 +02:00
Jari Kolehmainen
72d4a1a411 v4.0.6
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-30 17:37:59 +02:00
dependabot[bot]
7c24473af1 Bump node-notifier from 8.0.0 to 8.0.1 in /extensions/node-menu (#1835)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-30 17:06:07 +02:00
dependabot[bot]
73a9230f41 Bump node-notifier from 8.0.0 to 8.0.1 in /extensions/telemetry (#1836)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-30 17:05:59 +02:00
dependabot[bot]
5f4cb6ebf3 Bump node-notifier from 8.0.0 to 8.0.1 in /extensions/license-menu-item (#1837)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-30 16:50:37 +02:00
dependabot[bot]
e7a11c9268 Bump node-notifier from 8.0.0 to 8.0.1 in /extensions/example-extension (#1838)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-30 16:50:31 +02:00
dependabot[bot]
e608346fdc Bump node-notifier from 8.0.0 to 8.0.1 in /extensions/pod-menu (#1839)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-30 16:50:22 +02:00
dependabot[bot]
48281f12ce Bump node-notifier in /extensions/metrics-cluster-feature (#1840)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-30 16:50:14 +02:00
Alex Andreev
2907add868 Fix long list cropping in sidebar (#1877)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-30 16:49:53 +02:00
Lauri Nevala
d673cbe818 Share react-router and react-router-dom libraries to extensions (#1879)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-30 16:49:35 +02:00
Roman
d04fd9592e Don't open Lens at OS login by default, close #1697 (#1859)
Signed-off-by: Roman <ixrock@gmail.com>
2020-12-30 16:49:08 +02:00
Alex Andreev
06554df043 Disabling GPU acceleration by setting env variable (#1870)
* Disabling GPU by setting env variable

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

* Moving fuzzy bug description into docs FAQ

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

* Fix lint error

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-30 16:48:41 +02:00
Mario Sarcher
a1e5fe42f9 Catch HTTP Errors in case pod metrics resources do not exist or access is forbidden (#1755)
Signed-off-by: Mario Sarcher <msarcher@mirantis.com>

Add proper error message when catching a error during loadKubeMetrics()

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Mario Sarcher <msarcher@mirantis.com>

Co-authored-by: Mario Sarcher <msarcher@mirantis.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2020-12-30 16:47:21 +02:00
Lauri Nevala
424eeef761 Check is persistent volume claims resource to allowed for user (#1850)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-30 16:47:03 +02:00
Lauri Nevala
66db0d49d6 Fix k0s distribution detection (#1849)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-30 16:46:33 +02:00
Alex Andreev
3809ea700b Preserving line breaks when copiyng logs (#1851)
* Adding line break after log each log line

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

* Adding comment for line break

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-30 16:46:20 +02:00
Jari Kolehmainen
b84b461977
Backport: fix ApiManager.getApiByKind (#1878)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-29 18:06:31 +02:00
Jari Kolehmainen
686b368ef5
Merge pull request #1834 from lensapp/release/v4.0.5
Release v4.0.5
2020-12-23 15:05:05 +02:00
Jari Kolehmainen
f6781b9ba9 v4.0.5
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-23 13:52:45 +02:00
Jari Kolehmainen
4d6c6eded1 Fix alibaba distro detect (#1818)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-23 13:16:47 +02:00
Jari Kolehmainen
8ab86b600f Fix tencent distribution detect (#1816)
* fix tencent distribution detect

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

* Change method orders to avoid conflicts

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

Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-23 13:16:32 +02:00
Jari Kolehmainen
dc5d29eb90 Fix vmware distro detect (#1817)
* fix vmware distro detect

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

* Change method orders to avoid conflicts

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

Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-23 13:16:22 +02:00
Jari Kolehmainen
8bc42e91b4 Workloads overview: don't block on store load (#1829)
* workloads overview: don't block on store load

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

* subscribe after loadAll

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-23 13:16:13 +02:00
Lauri Nevala
beaf2c69ff Fix Kubectl 1.18 version in version map (#1846)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-23 12:04:21 +02:00
Jari Kolehmainen
52c642b3a4 Disable oh-my-zsh auto-update prompt when resolving shell environment (#1848)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-23 12:04:11 +02:00
Jari Kolehmainen
ecf930f5f5 Fix extension loader race conditions (#1815)
* fix extension loader race conditions

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

* cleanup

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

* fix tests

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

* fix remove

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

* ensure symlinked (dev) extensions are installed on boot

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-23 12:03:58 +02:00
Alex Andreev
30611c1892 Fixing logs scrolling state (#1847)
* Passing raw logs to PodLogs child components

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

* Avoid autoscrolling while user is scrolling

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

* Removing status panel from log controls

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-23 12:03:50 +02:00
Jari Kolehmainen
6339a361e7 Add kubectl v1.20 to version map (#1809)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-23 12:03:40 +02:00
Jari Kolehmainen
3f518ef452 Fix huawei distro detect (#1819)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-23 12:03:25 +02:00
Jari Kolehmainen
dfffb27f68 Optimise Cluster.getAllowedResources() (#1830)
* optimise Cluster.getAllowedResources()

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

* make it faster (max 5 concurrent requests)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-22 16:23:13 +02:00
Roman
bd1ed27619 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 16:23:02 +02:00
Jari Kolehmainen
0c4c98e206 Fix namespace store subscribe (#1826)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-22 14:16:04 +02:00
Lauri Nevala
75bf5b6dd6 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-22 14:15:57 +02:00
Jari Kolehmainen
c7371d4cf1 Render node list before metrics are available (#1827)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-22 14:15:49 +02:00
Jari Kolehmainen
d682c3b91f Fix proxy retry counter cleanup on success (#1825)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-22 14:15:37 +02:00
Jari Kolehmainen
404ad80242 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-22 14:15:26 +02:00