1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer/components/dock
Lauri Nevala 4f74b9aabe
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-01 17:30:22 +02:00
..
__test__ Fix jest window.matchMedia() error warnings (#2037) 2021-01-29 08:18:25 +02:00
create-resource.scss Lens restructure (#540) 2020-06-30 14:35:16 +03:00
create-resource.store.ts Lens restructure (#540) 2020-06-30 14:35:16 +03:00
create-resource.tsx Ignore clusters with invalid kubeconfig (#1956) 2021-03-01 17:30:22 +02:00
dock-tab.scss Lens restructure (#540) 2020-06-30 14:35:16 +03:00
dock-tab.store.ts Add eslint rule padding-line-between-statements (#1593) 2020-12-02 09:55:52 +02:00
dock-tab.tsx Fix removal of langci from repo (#2204) 2021-02-23 08:13:46 -05:00
dock-tabs.tsx Generic logs view with Pod selector (#1984) 2021-01-27 17:20:02 +03:00
dock.scss cleanup Draggable into ResizingAnchor (#989) 2020-10-01 11:37:27 -04:00
dock.store.ts Generic logs view with Pod selector (#1984) 2021-01-27 17:20:02 +03:00
dock.tsx Initial command palette feature (#1957) 2021-02-02 12:34:13 +02:00
edit-resource.scss Lens restructure (#540) 2020-06-30 14:35:16 +03:00
edit-resource.store.ts Add eslint rule padding-line-between-statements (#1593) 2020-12-02 09:55:52 +02:00
edit-resource.tsx Fix removal of langci from repo (#2204) 2021-02-23 08:13:46 -05:00
editor-panel.tsx Add eslint rule padding-line-between-statements (#1593) 2020-12-02 09:55:52 +02:00
index.ts Enforce semicolons in eslint 2020-11-19 16:35:04 +02:00
info-panel.scss Fixing log tab layout colors (#1995) 2021-01-21 10:38:49 +03:00
info-panel.tsx Remove lingui (#1874) 2020-12-29 14:53:34 +02:00
install-chart.scss Wider Select box for Helm chart installation (#803) 2020-09-04 10:03:18 +03:00
install-chart.store.ts Remove lingui (#1874) 2020-12-29 14:53:34 +02:00
install-chart.tsx Fix removal of langci from repo (#2204) 2021-02-23 08:13:46 -05:00
log-controls.scss Adding logs tab bottom toolbar (#1951) 2021-01-15 11:34:11 +03:00
log-controls.tsx Generic logs view with Pod selector (#1984) 2021-01-27 17:20:02 +03:00
log-list.scss Adding logs tab bottom toolbar (#1951) 2021-01-15 11:34:11 +03:00
log-list.tsx Generic logs view with Pod selector (#1984) 2021-01-27 17:20:02 +03:00
log-resource-selector.scss Adding logs tab bottom toolbar (#1951) 2021-01-15 11:34:11 +03:00
log-resource-selector.tsx Generic logs view with Pod selector (#1984) 2021-01-27 17:20:02 +03:00
log-search.scss Adding logs tab bottom toolbar (#1951) 2021-01-15 11:34:11 +03:00
log-search.tsx Fix removal of langci from repo (#2204) 2021-02-23 08:13:46 -05:00
log-tab.store.ts Generic logs view with Pod selector (#1984) 2021-01-27 17:20:02 +03:00
log.store.ts Generic logs view with Pod selector (#1984) 2021-01-27 17:20:02 +03:00
logs.tsx Generic logs view with Pod selector (#1984) 2021-01-27 17:20:02 +03:00
terminal-tab.scss Lens restructure (#540) 2020-06-30 14:35:16 +03:00
terminal-tab.tsx Remove lingui (#1874) 2020-12-29 14:53:34 +02:00
terminal-window.scss Set scrollbar colors as global styles (#1484) 2020-11-25 10:25:37 +03:00
terminal-window.tsx Add eslint rule padding-line-between-statements (#1593) 2020-12-02 09:55:52 +02:00
terminal.store.ts Remove lingui (#1874) 2020-12-29 14:53:34 +02:00
terminal.ts Catch xtermjs fit error (#1907) 2021-01-07 13:06:23 +02:00
upgrade-chart.scss Lens restructure (#540) 2020-06-30 14:35:16 +03:00
upgrade-chart.store.ts Refactor watches to use native k8s api (#2095) 2021-02-09 15:31:15 +02:00
upgrade-chart.tsx Fix removal of langci from repo (#2204) 2021-02-23 08:13:46 -05:00