* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
- 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>
- 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>
* 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>
* 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>
* 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>