Sebastian Malton
eb93a2eee7
Revert "Add auto-detect support for Victoria Metrics Single" ( #4705 )
2022-01-17 13:55:30 -05:00
Sebastian Malton
2ee47a442a
Reroute to landing page from previously registered extension cluster pages ( #4385 )
2022-01-12 08:47:42 -05:00
Sebastian Malton
39beca0639
Fix Kubectl.downloadKubectl() ( #4674 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-01-12 07:06:54 -05:00
Sebastian Malton
14b30d84a1
Fix crash for KubeObjectStore.loadAll() ( #4675 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-01-12 07:05:27 -05:00
Sebastian Malton
d40071a9d5
Fix CommandOverlay for extension API ( #4673 )
2022-01-11 11:58:23 -05:00
Sebastian Malton
56c15e6b0f
Minor cleanup of Kubectl's downloadKubectl and writeInitScripts ( #4556 )
2022-01-10 10:48:58 -05:00
Sebastian Malton
fa3708c879
Add eslint:recommended lint rule ( #4577 )
2022-01-07 08:38:21 -05:00
Sebastian Malton
764d7754e5
fix test
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-01-05 12:22:43 -05:00
Sebastian Malton
3ce9bfe4f9
Move hotbarManagerInjectable to different file
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-01-05 12:10:21 -05:00
Sebastian Malton
f8ae1149fb
Make all of Command* injectable, with some others too
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-01-05 11:48:52 -05:00
Sebastian Malton
abe90ad92a
Add CRDs to Command Palette and fix bugs
...
- Deprecate the "scope" on command registrations as it is buggy and
generally unfixable
- Switch to mounting CommandContainer in each new frame so that there is
no need to broadcast anything other than opening palette
- Add CRD entries to the command registry within each cluster
- Add navigate to CommandActionContext to simplify handling of root
frame scoped URLs
- Switch to using DI for some of the deps
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-01-05 11:48:51 -05:00
Sebastian Malton
4f75acf2b4
Ban circular dependencies ( #3547 )
2022-01-05 11:35:44 -05:00
Sebastian Malton
6a97a7b35b
Fix CRD.getPreferedVersion() to work based on apiVersion ( #4553 )
...
* Fix CRD.getPreferedVersion() to work based on apiVersion
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-01-05 07:53:28 -05:00
Sebastian Malton
2a31c5a0d5
Removing JS adding #terminal-init so that unit tests don't have global state ( #4627 )
2022-01-04 10:20:41 -05:00
Sebastian Malton and Alex Andreev
8082501bb3
Remove unnecessary CatalogEntityItem ( #4582 )
...
* Remove unnecessary CatalogEntityItem
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Using simple notation to set search url params
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix styles file name
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-12-24 13:49:34 +03:00
Sebastian Malton
f8fa33ec8c
Upgrade to latest version of @typescript-eslint/* pkgs ( #4576 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-12-20 07:18:01 +03:00
Sebastian Malton
8f194b87c3
Add getBaseRegistryUrl dep to attemptInstallByInfoInjectable ( #4590 )
2021-12-17 11:53:00 -05:00
Sebastian Malton
43c16d6203
Fix <Extensions> not building ( #4588 )
2021-12-17 11:01:34 -05:00
Sebastian Malton
e9d99d8485
Replace all uses of promiseExec with promiseExecFile ( #4514 )
2021-12-17 10:29:09 -05:00
Sebastian Malton
78678bdf2f
Add support for customizing the extension install registry URL ( #4503 )
2021-12-17 10:28:59 -05:00
Sebastian Malton
bde0a9ef91
Change isEnabledForCluster to use KubernetesCluster instead of Cluster ( #4584 )
2021-12-17 08:28:47 -05:00
Sebastian Malton
e32c33fc18
Add lint rule
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-12-15 08:41:28 -05:00
Sebastian Malton
f6193718ff
Fix crash on NetworkPolicy when matchLabels is missing ( #4500 )
2021-12-14 14:10:27 -05:00
Sebastian Malton
1e22cffcd8
Fix extension engine range not working for some ^ ranges ( #4554 )
2021-12-14 11:57:34 -05:00
Sebastian Malton
d775d53078
Fix not being able to clear set cluster icon ( #4555 )
2021-12-14 11:38:31 -05:00
Sebastian Malton
a454b29971
Fix crash with InstallChart
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-12-14 09:15:15 -05:00
Sebastian Malton
56e72b3a74
Fix ERR_UNSAFE_PORT from LensProxy ( #4558 )
...
* Fix ERR_UNSAFE_PORT from LensProxy
- Use the current list of ports from chromium as it is much easier to
just reject using one of those instead of trying to handle the
ERR_UNSAFE_PORT laod error from a BrowserWindow.on("did-fail-load")
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Move all port handling into LensProxy
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* don't use so many exceptions
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-12-14 12:38:35 +02:00
Sebastian Malton
1d1a85f9ea
Use electron.clipboard for all clipboard uses ( #4535 )
2021-12-13 10:45:24 -05:00
Sebastian Malton
c0e0408c9b
Remove all 'NonBreakingSpace' characters from the repo
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-12-10 13:06:33 -05:00
Sebastian Malton
41e7664fe2
Add some gh and jq help to the release guide ( #4549 )
2021-12-10 09:07:57 -05:00
Sebastian Malton
181197fad8
Remove unnecesarry TerminalApi.destroy and TerminalApi.reconnect overloads ( #4538 )
2021-12-10 09:07:18 -05:00
Sebastian Malton
747ef8daee
Special case goBack to navigate to catalog if no where to go back to ( #4544 )
2021-12-10 09:07:07 -05:00
Sebastian Malton
6284bd1eb4
Fix crash in ClusterStatus ( #4533 )
2021-12-09 16:03:18 -05:00
Sebastian Malton
b665a2efe7
Fix freeze after closing terminal on windows ( #4536 )
2021-12-09 15:52:27 -05:00
Sebastian Malton
541c00cf24
Add tooltip for cluster name in sidebar ( #4534 )
2021-12-09 08:40:06 -05:00
Sebastian Malton
25f4a1f3ba
Upgrade mock-fs to v5 ( #4537 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-12-09 14:35:49 +03:00
Sebastian Malton
304941d397
Fix IngressApi being registered with a wrong new apiBase ( #4485 )
2021-12-03 15:19:01 -05:00
Sebastian Malton
7dfd4d586c
Fix error notifications not being displayed for CreateResource tab ( #4502 )
2021-12-03 12:49:42 -05:00
Sebastian Malton
1636be71d5
Don't emit build_id metadata on RPM builds ( #4464 )
2021-12-02 09:37:13 -05:00
Sebastian Malton
4c16b7020d
Fix KubeApi.create not populating kind and apiVersion ( #4478 )
2021-12-01 15:57:08 -05:00
Sebastian Malton
80eeffc229
Log cluster model if adding a cluster fails when syncing from catalog ( #4463 )
2021-12-01 08:08:48 -05:00
Sebastian Malton
4257fce2f0
Fix NetworkPolicy engresses not having node/pod selectors displayed ( #4467 )
2021-12-01 08:08:26 -05:00
Sebastian Malton
29220c1c73
Fix getLatestApiPrefixGroup to not fail when options.apiBase is not provided ( #4462 )
2021-11-30 11:27:20 -05:00
Sebastian Malton
2f14b7a70a
Refactor Nodes view metrics renderer ( #3990 )
2021-11-30 10:30:54 -05:00
Sebastian Malton
f0274d08a4
Add Check-For-Updates in menu and some notifications ( #4437 )
2021-11-30 10:30:42 -05:00
Sebastian Malton and Alex Andreev
7ce4a87ac8
Add support for resizing Drawers ( #4440 )
...
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-11-30 09:09:19 -05:00
Sebastian Malton
df46dd9ef6
Fix not being able to remove role bindings via the UI ( #4394 )
2021-11-30 09:06:54 -05:00
Sebastian Malton
2ab9aeb83c
Correctly handle promises and rejections around cluster connection ( #4216 )
2021-11-30 09:05:34 -05:00
Sebastian Malton
0286faf387
Fix detail views not watching child components ( #4345 )
...
* Fix detail views not watching child components
- Add subscribeStores calls to all relavent details
- Add support for tracking overlapping subscribes as an optimization
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Resolve PR comments
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Detect the adding of a namespace when selected namespaces change
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Update debug log
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-29 17:25:35 -05:00
Sebastian Malton
406f595011
Fix lint ( #4438 )
2021-11-26 11:25:54 -05:00
Sebastian Malton
aab48a784c
Cleanup OverviewWorkloadStatus, remove findDOMNode ( #4392 )
2021-11-26 08:42:17 -05:00
Sebastian Malton
0e7704ea3f
Change KubernetesCluster's settings menuItem's icon to a cog ( #4425 )
2021-11-26 08:41:08 -05:00
Sebastian Malton
44f1f38a75
Fix: display of entity name while connecting ( #4415 )
2021-11-25 10:00:25 -05:00
Sebastian Malton
5d172b89db
Cleanup Prometheus detection ( #4316 )
2021-11-23 14:34:45 -05:00
Sebastian Malton
8081d35f9c
Broadcast cluster's disconnected state before stopping KubeAuthProxy ( #4273 )
2021-11-23 14:34:37 -05:00
Sebastian Malton
8c9e3b2fdc
Fix cwd not being respected for local shells on windows ( #4395 )
2021-11-23 14:34:18 -05:00
Sebastian Malton
7c5a0a9a6d
Improve local shell CWD setting ( #4396 )
2021-11-23 08:35:16 -05:00
Sebastian Malton
8f84f394fe
Fix all-or-nothing when initially loading extensions ( #4384 )
...
* Fix all-or-nothing when initially loading extensions
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Log error instead of displaying error box
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-22 20:30:47 -05:00
Sebastian Malton
78a4e2a126
Catch and display load errors for WorkloadsOverview ( #4393 )
2021-11-22 12:27:54 -05:00
Sebastian Malton
0e5fc65806
Fix race condition in LensViews.handleVisibleClusterChange ( #4387 )
2021-11-22 09:43:26 -05:00
Sebastian Malton
8a1faa3eb8
Fix windows AllUsers installs not updating correctly ( #4390 )
2021-11-19 14:35:55 -05:00
Sebastian Malton
885af07d0b
Improve bootstrap logging for help with iframe debugging ( #4020 )
2021-11-18 16:54:43 -05:00
Sebastian Malton
994208b25a
Fix documentation around components examples ( #4375 )
2021-11-17 17:06:29 -05:00
Sebastian Malton and Jari Kolehmainen
0f2801552f
Fix handling of PTYs when renderer is reloaded ( #4346 )
...
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-11-17 13:48:46 -05:00
Sebastian Malton
7ccac061d9
Use actions@stale/v4 instead of actions@stale/4 ( #4343 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-17 08:02:06 -05:00
Sebastian Malton
2fc588aed5
Fix dropdowns not being searchable for ClusterRoleBindingDialog and RoleBindingDialog ( #4272 )
...
* Fix dropdowns not being searchable for ClusterRoleBindingDialog and RoleBindingDialog
- Added some tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix unit test
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-17 08:01:40 -05:00
Sebastian Malton
159c240a80
Display resource load errors seperately from list of items ( #4228 )
2021-11-16 12:41:10 -05:00
Sebastian Malton
53dd538350
Fix edit-resource by correctly saving first draft ( #4342 )
2021-11-15 16:32:46 -05:00
Sebastian Malton
e51ff5051f
Fix crash when finding CRD's preferred version ( #4332 )
2021-11-15 11:16:37 -05:00
Sebastian Malton
085d08cefd
Use specific version of actions/stale ( #4330 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-12 13:44:14 -05:00
Sebastian Malton
b550ea9178
Reduce logging on failure to get cluster metrics ( #4284 )
2021-11-12 08:51:37 -05:00
Sebastian Malton
673f20fb74
Fix CRDs not updating in Sidebar ( #4288 )
2021-11-12 08:51:14 -05:00
Sebastian Malton
333d77f66a
Make Delete/Remove menu item consistent as Delete ( #4313 )
2021-11-12 08:51:04 -05:00
Sebastian Malton
a71a6dcaff
Always override PATH when syncing from shell ( #4132 )
2021-11-12 08:50:57 -05:00
Sebastian Malton
3522485c6f
Improve cluster connection visibility ( #4266 )
2021-11-12 08:49:21 -05:00
Sebastian Malton
d060459ccd
Close issues with 'needs-information' after 60 days ( #4305 )
2021-11-10 16:39:57 -05:00
Sebastian Malton
de4c7e4cff
Fix race condition in refreshViews ( #4094 )
2021-11-10 12:07:55 -05:00
Sebastian Malton
c37a8aee0a
Correctly catch and notify user about NodeShell pod failures ( #4244 )
...
* Correctly catch and notify user about NodeShell pod failures
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix error throwing sometimes during Terminal.detach
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-09 22:52:46 -05:00
Sebastian Malton
1ce2e727af
Fix crash in IngressDetails ( #4267 )
...
* Fix crash in IngressDetails
- Adds check in Ingress.getServiceNamePort() for a
.spec.defaultBackend.resource instead of .spec.defaultBackend.service
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* remove undefined
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add comment about RequireExactlyOne
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-09 22:52:36 -05:00
Sebastian Malton
81b972a2d0
Make ws:// authentication more timing safe ( #4297 )
2021-11-09 14:24:32 -05:00
Sebastian Malton
18d695348b
Change base64 functions to be exported not as object children ( #4298 )
2021-11-09 13:43:45 -05:00
Sebastian Malton
e5bf5920fc
Keep shell processes alive between network offline periods ( #4258 )
2021-11-09 12:30:55 -05:00
Sebastian Malton
4b9fdddac4
Specify GiB for lens prometheus metrics instead of GB ( #4287 )
2021-11-09 09:33:53 -05:00
Sebastian Malton
200061d386
Use .status.phase instead of computing it for Pod.getStatusMessage ( #4286 )
2021-11-09 09:33:42 -05:00
Sebastian Malton
5eb1b8553d
Support window nodes for node-shells ( #3624 )
...
* Support window nodes for node-shells
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Also check beta.kubernetes/os label
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add comment about linux fallback
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-08 20:11:40 -05:00
Sebastian Malton
c09a57370e
Block shell websocket connections from non-lens renderers ( #4285 )
...
* Block shell websocket connections from non-lens renderers
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add IPC based authentication tokens
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix race condition on tab start
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-08 19:02:10 -05:00
Sebastian Malton
a399b8ee20
Fix crash on HorizontalPodAutoscalers view ( #4276 )
2021-11-08 10:12:26 -05:00
Sebastian Malton
3666c56319
Display loading spinner while switching between helm charts ( #4269 )
2021-11-08 10:12:17 -05:00
Sebastian Malton
7e82b7632a
Fix not being able to sync kube config files on linux ( #4253 )
2021-11-04 14:12:49 -04:00
Sebastian Malton
43845ed145
Fix auto update not working for AppImage ( #4256 )
2021-11-04 12:11:08 -04:00
Sebastian Malton
526b7c46be
Fix impl of 'Fix metrics configuration via catalog' ( #4255 )
2021-11-04 10:55:23 -04:00
Sebastian Malton
a93108c103
Fix auto-update on macOS not working ( #4248 )
2021-11-03 16:29:50 -04:00
Sebastian Malton
28e182a2a3
Properly propagate promises in Kubectl.ensureKubectl to avoid UnhandledPromiseRejections ( #4243 )
2021-11-03 12:28:12 -04:00
Sebastian Malton
79c4132df9
Reduce selection on triple click in Drawers ( #4201 )
2021-11-03 10:10:07 -04:00
Sebastian Malton
df297613ca
Fix trying to download kubectl from [object Object] ( #4215 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-03 07:44:28 -04:00
Sebastian Malton
c6dce043a7
Lint: comma-spacing (error) & comma-dangle (error) ( #4200 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-02 17:38:20 -04:00
Sebastian Malton
7ba359be03
Only offer app version downgrade if updateChannel differs from current version ( #4212 )
2021-11-02 12:07:50 -04:00
Sebastian Malton
d8538eaa75
Use user configured kubectl path in node and pod menu items ( #3506 )
2021-11-02 09:29:45 -04:00
Sebastian Malton
41863e87ce
Lint: object-curly-spacing (error) ( #4198 )
2021-11-01 08:45:45 -04:00
Sebastian Malton
0759b80435
Lint: space-before-function-paren (error) ( #4199 )
2021-11-01 08:37:49 -04:00