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

848 Commits

Author SHA1 Message Date
Jari Kolehmainen
cd62ae1107 v4.1.5
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-03-26 11:25:31 +02:00
Jari Kolehmainen
a0fe427083 Proxy should listen only on loopback device (#2388)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-03-25 12:57:11 +02:00
Jari Kolehmainen
75230732d1 Fix extension command palette loading (#2351)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-03-25 12:55:24 +02:00
Sebastian Malton
8ce487b999 Move clearKubeconfigEnvVars to separate file (#2337)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-25 12:54:48 +02:00
Sebastian Malton
844b43f435 Fix Lens not clearing other KUBECONFIG env vars (#2297) 2021-03-25 12:53:44 +02:00
Jari Kolehmainen
76f9f9ffaa
Merge pull request #2274 from lensapp/release/v4.1.4
Release v4.1.4
2021-03-04 18:49:18 +02:00
Jari Kolehmainen
f3e0e0f25c v4.1.4
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-03-04 14:26:05 +02:00
Alex Andreev
c1a2c1e849 Fix: preventing <App/> to render on cluster refresh (#2253)
* Removing @observer decorator from <App/>

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

* Add observer wrapper to <MainLayoutHeader/>

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

* Fix eslint claim

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

* Moving extension route renderers to components

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

* Clean up

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

* Removing external observables out from App render()

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

* Fetching hosted cluster inside Command Palette

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

* Setting route lists explicitly
To avoid using observable data within tabRoutes arrays

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

* Review fixes

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-04 14:13:32 +02:00
Lauri Nevala
4c7c2d1084 Render only secret name on pod details without access to secrets (#2244)
* Render only secret name on pod details without access to secrets

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

* Preserving layout when amount of secrets passed

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

* Refactor secrets to observable map

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

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-03 16:52:50 +02:00
Lauri Nevala
df20dd6b11 Ignore clusters with invalid kubeconfig (#1956)
* Ignore clusters with invalid kubeconfig

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

* Improve error message

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

* Mark cluster as dead if kubeconfig loading fails

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

* Fix tests

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

* Validate cluster object in kubeconfig when constructing cluster

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

* Add unit tests for validateKubeConfig

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

* Refactor validateKubeconfig unit tests

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

* Extract ValidationOpts type

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

* Add default value to validationOpts param

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

* Change isDead to property

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

* Fix lint issues

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

* Add missing new line

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

* Update validateKubeConfig in-code documentation

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

* Remove isDead property

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

* Display warning notification if invalid kubeconfig detected (#2233)

* Display warning notification if invalid kubeconfig detected

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-03-03 16:52:38 +02:00
Alex Andreev
6d13f87575 Removing unused chart files (#2238)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-03 16:52:28 +02:00
Lauri Nevala
1f910891bc Pass Lens wslenvs to terminal session on Windows (#2198)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-03-03 16:52:15 +02:00
Christoph Meier
143f4331df Fix(rbac): pdp should have policy group (#2132)
For rbac the `PodDisruptionBudget` should use the `policy` group.

Signed-off-by: Christoph MEIER <top@foyer.lu>
2021-03-03 16:52:06 +02:00
Jari Kolehmainen
8e454e9926 Flush response headers always when proxy gets a response (#2229)
* flush response header always when proxy gets a response

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

* force flush only when watch param exists

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-03-03 16:51:54 +02:00
pashevskii
8f103c3f20 Extract chart version ignoring numbers in chart name (#2226)
Signed-off-by: Pavel Ashevskiy <pavel.ashevskiy@ifellow.ru>

Co-authored-by: Pavel Ashevskiy <pavel.ashevskiy@ifellow.ru>
2021-03-03 16:51:42 +02:00
Jim Ehrismann
61a8b3e578 the select all checkbox should not select disabled items (#2151)
* the select all checkbox should not select disabled items

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

* remove improper bullet-proofing

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

* added default for customizeTableRowProps

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-03-03 16:50:59 +02:00
Jari Kolehmainen
39947aea5a
Merge pull request #2218 from lensapp/release/v4.1.3
Release v4.1.3
2021-02-24 19:00:15 +02:00
Jari Kolehmainen
0a7ace772f v4.1.3
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-24 16:51:28 +02:00
Rafed Ramzi
ceeeb2473f Fix Documentation: fix broken link in getting-started page (#2155)
Signed-off-by: Rafed Ramzi <rafedramzi@gmail.com>
2021-02-24 16:45:23 +02:00
Lauri Nevala
efd3c643de Fix loading all namespaces for users with limited cluster access (#2217)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-02-24 16:35:38 +02:00
Sebastian Malton
a0c9dcad97 StatusBarRegistration's component field must be optional for backwards compatability (#2211)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-24 16:35:28 +02:00
Alex Andreev
cf7bed06f7 Fix: deprecated helm chart filtering (#2158)
* Refactor of excludeDeprecated helm service method

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

* Pick first helm chart from the list on load

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

* Removing helm filtering in UI

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

* Cleaning up

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

* Cleaning up type definitions

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

* Adding sorting charts by version

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

* Adding tests for methods that manipute chart listing

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

* Cleaning up tests a bit

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

* Adding semver coercion before comparing versions

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-02-24 16:35:05 +02:00
Lauri Nevala
bae8c76a73 Display environment variables coming from secret in pod details (#2167)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-02-24 16:34:41 +02:00
Sebastian Malton
fd27bd6bb8 Fix removal of langci from repo (#2204)
- Move all strings of the form {`...`} to use just ""

- Fix RoleBindingDetails not rendering the name of the role binding

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-24 16:34:17 +02:00
Steven Martin
d6561f4fba Fix Heading spelling (#2202)
Repositories was misspelled in Managing Helm Repositories

Signed-off-by: stevenGravy <steven@gravitational.com>
2021-02-24 16:33:56 +02:00
Sebastian Malton
d3ff3c9cc1 Fix auto update on quit with newer version (#2128)
- Fix auto update on quit with newer version

- If the user specifies that Lens should auto update on quit to a specific version, and before they quit the auto-updater finds a newer version. Then disregard the previous request to update

- reset broadcast-ed version if failed to broadcast

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-24 16:33:07 +02:00
Roman
6135406709 fix: allow scrolling in main-layout's content area (#2201)
Signed-off-by: Roman <ixrock@gmail.com>
2021-02-24 16:32:44 +02:00
Sebastian Malton
73cf2893aa fix RoleBindings Namespace and Bindings field not displaying the correct data (#2203)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-24 16:32:22 +02:00
Roman
136dac4a8f - fix: don't reset selected "all namespaces" on page reload (#2185)
- fix: don't reload namespaces on every page visit / NamespaceSelect.render()

Signed-off-by: Roman <ixrock@gmail.com>
2021-02-24 16:31:54 +02:00
Jari Kolehmainen
4ea04c1ffd
Merge pull request #2186 from lensapp/release/v4.1.2
Release v4.1.2
2021-02-18 21:04:54 +02:00
Jari Kolehmainen
79a65b1df2 v4.1.2
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 19:22:41 +02:00
Jari Kolehmainen
d2ae2a5c32 Fix duplicate cluster iframes (#2190)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 19:22:41 +02:00
Jari Kolehmainen
2d1183ff7b Wait for cluster to be ready before loading iframe (#2183)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 15:26:16 +02:00
Jari Kolehmainen
5bd8f452b3 Trigger quitAndInstall after update-downloaded event (#2181)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 15:26:06 +02:00
Jari Kolehmainen
32e0fee9c0
Merge pull request #2175 from lensapp/release/v4.1.1
Release v4.1.1
2021-02-18 11:23:00 +02:00
Jari Kolehmainen
a8701d6ec7 v4.1.1
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 08:44:52 +02:00
dependabot[bot]
a5fb28c29e Bump xterm from 4.6.0 to 4.10.0 (#2072)
Bumps [xterm](https://github.com/xtermjs/xterm.js) from 4.6.0 to 4.10.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/4.6.0...4.10.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-18 08:37:12 +02:00
Jari Kolehmainen
88b4561112 Windows: use SHELL for terminal if set (#2168)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 08:08:27 +02:00
Jari Kolehmainen
5696ba3386 Fix isLoadingAll within KubeObjectStore.loadItems (#2174)
* fix isLoadingAll within KubeObjectStore.loadItems

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

* fix isLoadingAll within KubeObjectStore.loadItems

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 08:08:17 +02:00
Roman
cd049b74ae fix: keep last selected row during navigation in the details panel (#2165)
Signed-off-by: Roman <ixrock@gmail.com>
2021-02-18 08:08:06 +02:00
Sebastian Malton
cda8c6b062 return undefined instead of localhost from getClusterIdFromHost (#2143)
* return undefined instead of localhost from getClusterIdFromHost

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-18 08:07:04 +02:00
Jari Kolehmainen
8692bdefa2
Release v4.1.0 (#2162)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-16 19:25:38 +02:00
Alex Andreev
2c196ec3ad
Fix: load releases for all namespaces at once (#2139)
* Load releases for all namespaces at once

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

* Check for accessibleNamespaces length

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

* Replacing loadAll() to loadFromContextNamespaces()

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-02-16 16:53:11 +02:00
Sebastian Malton
436bb7683d
Listen for before-quit-for-update to allow will-quit to use default flow (#2147)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-16 16:50:11 +02:00
Alex Andreev
d3cedb49aa
Adding paddings to auto-update notification elements (#2163)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-02-16 16:49:27 +02:00
Lauri Nevala
3f2d912816
Register existing store with new apiBase when re-registering Kube API (#2157)
* Update store key after api's apiBase change

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

* Re-register existing store when registering API

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

* Revert kube-api changes

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-02-16 14:49:51 +02:00
Jari Kolehmainen
1e5d682b9b
Release v4.1.0-rc.2 (#2154)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-15 11:29:04 +02:00
Sebastian Malton
8d74f1c759
Fix tailCount renderering in removeItemsDialog (#2148)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-15 07:25:34 +02:00
Jari Kolehmainen
f4a3074926
Fix events list default sort column (#2149)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-13 09:33:04 +02:00
Lauri Nevala
ebf9177098
Activate survey extension only on main renderer (#2145)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-02-12 19:04:12 +02:00