* Fix long name layout in Cluster Settings (#3854)
* Fix long name layout in Cluster Settings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* fix missing query parameter (#3875)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Disable log file writing on renderer (#3874)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* release v5.2.4
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Revert "Fix check for user exec command (#3664)" (#3827)
This reverts commit 056b818ceb.
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
* release v5.2.2
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
* Use PATCH verb to scale deployments and statefulsets (#3744)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Stop Sentry from capturing console.error and logger.error (#3785)
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Sidebar cluster avatar (#3765)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Second click on list item closes the details view (#3809)
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Fix fallback to bundled kubectl (#3812)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Fix cluster's accessibleNamespaces being reset on restarting Lens (#3817)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Don't change permissions when deleting a cluster (#3798)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Draggable region on macOS should be the same as the main header (#3800)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Fix check for user exec command (#3664)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Fix shell connection readiness heuristic (#3795)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* release v5.2.1
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Fix test action
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Juho Heikka <juho.heikka@gmail.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
* Fix local cluster delete flow
- Now checks for the cluster being the current cluster and confirms the
action
- <ConfirmDialog> is fixed to work with several confirmations happinging
at once
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Custom delete cluster dialog
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Saving kubeconfig file refactoring
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Switching current-context from dialog
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Cleaning up css styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Show Delete menu item only for local cluster
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Make all dialogs rounded
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Releasing kubeconfig file after lock
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Adding delete cluster dialog tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Delete cluster dialog refactoring
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fixing typo
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Removing temp file on error
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Updating tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Do not switch context if select is hidden
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Removing spread symbols
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Moving cluster delete event from catalog initializer to ipc
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Refactor warning messages
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Getting spread (...) back to fix Select render
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Using async form without promises
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Do not show context switcher if no contexts left
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Updating the tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* don't allow delete of the active cluster before setting to new active cluster (#3749)
* don't allow user to delete the active cluster before setting to new active cluster
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* fix lint issues
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Show delete button if no more contexts available
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
* release v5.2.0-beta.3
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* '-' is an invalid character for azure job name
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* use newer vmImage for mac azure job so mac arm64 build works
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* use newerer vmImage for mac azure job so mac arm64 build works
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* fix merge conflict while cherry-picking commit 9d6bed8786
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
Build and release amd64 & arm64 together (macOS) (#3700)
* build and release amd64 & arm64 together
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* build and release amd64 & arm64 together
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* test build on macos arm64
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix syntax
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix syntax
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* clean first
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* node-gyp 7.1.2
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* test
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* test
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
Upgrade to electron 12 and Node 14
- Compute cluster ID for tests
- Switch to temporary appData path while testing
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>