Sebastian Malton
5998b4ca84
Upgrade js-yaml to 4.X ( #3623 )
2021-10-18 10:03:10 -04:00
Sebastian Malton
f12b0658ba
Add URL display to weblink URLs ( #4046 )
2021-10-18 09:38:10 -04:00
Sebastian Malton
86da6260b6
Don't attempt to sync files larger than 2MiB or non UTF-8 files ( #3985 )
...
* Don't attempt to sync files larger than 16MiB
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add handling for invalid utf-8
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Increase max size limit for single file syncs
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-10-15 23:27:34 -04:00
Sebastian Malton
343569a025
Add static Pod.yaml to templates ( #4055 )
2021-10-15 12:49:18 -04:00
Sebastian Malton
052d12fc19
Check object instanceof on all detail panels ( #4054 )
...
* Check object instanceof on all detail panels
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix unit tests
- Remove prettier as snapShot testing is too tight of a bound
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-10-15 12:11:46 -04:00
Sebastian Malton
246305cd63
Fix accessible namespaces notification not navigating to correct settings ( #4048 )
2021-10-15 09:06:24 -04:00
Sebastian Malton
d2203b3a30
Fix verify-docs error ( #4045 )
2021-10-14 15:20:12 -04:00
Sebastian Malton
9d5689ce69
Only allow extensions to use non-lens specific cluster phases ( #4036 )
2021-10-14 10:25:48 -04:00
Sebastian Malton
53c9d35832
Fix cluster icon click in sidebar redirecting to wrong route ( #4037 )
2021-10-14 08:50:24 -04:00
Sebastian Malton
75ddf48914
Upgrade typedoc-plugin-markdown to fix verify-docs ( #4031 )
2021-10-14 08:50:10 -04:00
Sebastian Malton
7e0aeca119
Remove exec.command checking ( #3881 )
2021-10-14 08:46:23 -04:00
Sebastian Malton
3988229a6c
Fix auto-update channel checking and pinning ( #4030 )
2021-10-13 14:48:47 -04:00
Sebastian Malton
e64060cc69
Conditionally render node taints upon value existance ( #3989 )
2021-10-13 10:34:28 -04:00
Sebastian Malton
9c94c19a4f
Add ability to configure lens release channel ( #3971 )
2021-10-12 08:32:06 -04:00
Sebastian Malton
b9cee0cbc7
Fix HelmChartDetails and HelmReleaseDetails Menu ( #3986 )
2021-10-12 08:30:46 -04:00
Sebastian Malton
d979405023
Fix make clean to actually remove *.tgz files ( #3997 )
2021-10-12 08:30:27 -04:00
Sebastian Malton
5a25c44de6
Catch and display errors for release details ( #3905 )
2021-10-12 08:28:32 -04:00
Sebastian Malton
329f4706c0
Use the served and storage version of a CRD instead of the first ( #3999 )
2021-10-12 07:31:11 -04:00
Sebastian Malton
0cd3931d67
Don't run store migrations on renderer ( #3968 )
2021-10-08 09:15:40 -04:00
Sebastian Malton
cdb57f4c97
Remove directly depending on openid-client ( #3935 )
2021-10-08 09:02:32 -04:00
Sebastian Malton
e10c13cdf4
Switch integration tests to get application menus by IDs ( #3912 )
2021-10-07 15:30:52 -04:00
Sebastian Malton
913244b204
Catch metadata being undefined at KubeObject creation ( #3960 )
2021-10-07 10:09:21 -04:00
Sebastian Malton
31f84234a0
Fix taints on nodes view ( #3957 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-10-07 10:08:34 -04:00
Sebastian Malton
ae96ae7d50
Update extension's package-lock.json files
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-10-06 15:24:17 -04:00
Sebastian Malton
4705a66632
Use JSON patch for editing components ( #3674 )
2021-10-04 16:28:19 -04:00
Sebastian Malton
8b1de233f2
Don't override entity source on cluster icons ( #3928 )
2021-10-04 14:38:14 -04:00
Sebastian Malton
f2c623f89e
Specify tableId for DeploymentReplicaSets ( #3950 )
2021-10-04 14:32:15 -04:00
Sebastian Malton
cfd89fa7ba
Pin @k8slens/extensions dependencies instead of wildcarding them ( #3930 )
2021-10-01 15:46:25 -04:00
Sebastian Malton
b692bc3603
Make default catalog action to open entity ( #3915 )
2021-09-30 09:46:33 -04:00
Sebastian Malton
17e97f16c9
Fix title of service account dialog ( #3883 )
2021-09-23 22:27:03 -04:00
Sebastian Malton
3c77c06519
Add ability to search and activate entities via the command dialog ( #3692 )
2021-09-23 13:18:31 -04:00
Sebastian Malton
3fc5b83461
Add error message for no contexts in add cluster page ( #3868 )
2021-09-22 10:25:48 -04:00
Sebastian Malton
dfa0a35695
Fix error due to async validators for <Input> ( #3823 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-09-20 09:54:12 -04:00
Sebastian Malton
e251194cb5
Fix reference error when opening cluster view ( #3824 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-09-20 13:01:05 +03:00
Sebastian Malton
e5c9c9a4b5
Fix test GH action to run on all branches ( #3822 )
2021-09-16 10:38:31 -04:00
Sebastian Malton
1ebb8eedf7
Upgrade all testing linux CI machines to Ubuntu-20.04 ( #3799 )
2021-09-16 09:02:43 -04:00
Sebastian Malton
be1a2ebe59
Fix shell connection readiness heuristic ( #3795 )
2021-09-15 17:40:36 -04:00
Sebastian Malton
056b818ceb
Fix check for user exec command ( #3664 )
2021-09-15 13:09:57 -04:00
Sebastian Malton
068c78d48d
Draggable region on macOS should be the same as the main header ( #3800 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-09-15 12:28:06 -04:00
Sebastian Malton
b43086a386
Don't change permissions when deleting a cluster ( #3798 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-09-15 12:27:48 -04:00
Sebastian Malton
f68cbabbc9
Fix cluster's accessibleNamespaces being reset on restarting Lens ( #3817 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-09-15 12:19:15 -04:00
d72158cc63
Fix local cluster delete flow ( #3473 )
...
* 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 >
2021-09-08 15:06:14 +03:00
Sebastian Malton
d132a4c7e7
Fix node shell secret pulling ( #3668 )
...
- On some KE errors are thrown if trying to get a secret with an empty
name, instead of just ignoring the entry
- Clean up the node shell settings
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-09-01 12:49:00 +03:00
Sebastian Malton and Panu Horsmalahti
6fdb2f0b58
Support filtering catalog entities ( #3647 )
...
* Support filtering catalog entities
- This allows extensions and OpenLens to restrict which of the entities
the sources have provied are "visible" to the rest of Lens
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* switch to filtering only for catalog view
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix test
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Add test to iter reduce
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
Co-authored-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-08-31 16:00:56 +03:00
59933507e4
Upgrade to electron 12 and Node 14 ( #3572 )
...
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 >
2021-08-26 12:13:31 -04:00
Sebastian Malton
5f89b3e31f
Fix filtering deprecated charts ( #3635 )
2021-08-24 08:29:36 -04:00
Sebastian Malton
2716a3fded
Fix .eslintrc.js ( #3648 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-19 14:29:18 -04:00
Sebastian Malton
902224a6dc
Always display a Node's taints' values ( #3646 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-19 13:40:16 -04:00
Sebastian Malton
7d8a6a3e25
Validate and set defaults for HelmChart creation ( #3492 )
2021-08-18 08:06:57 -04:00
Sebastian Malton
1833a1c722
Fix StatefulSet.getImages to handle null case ( #3619 )
2021-08-17 13:02:33 -04:00
Sebastian Malton
8c93c96910
Remove @types/circular-dependency-plugin ( #3601 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-17 11:53:48 -04:00
Sebastian Malton
f39f0634b1
release v5.2.0-beta.1 ( #3610 )
...
* release v5.2.0-beta.1
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix CI
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-16 12:34:19 -04:00
Sebastian Malton
e979cbf7c7
Add back sentry winston logger transport ( #3602 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-12 11:01:39 -04:00
Sebastian Malton
476aa74101
Inject handlers into LensProxy to remove circular-deps ( #3546 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-04 19:18:01 -04:00
Sebastian Malton
2b3351bf9b
Remove circular dependency with isAllowedResource function ( #3545 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-04 16:01:47 -04:00
Sebastian Malton
b6ba39c438
Remove circular imports around the command pallet ( #3544 )
2021-08-04 14:22:18 -04:00
Sebastian Malton
ee158e33df
Move lookupApi into apiManager ( #3540 )
2021-08-04 11:36:13 -04:00
Sebastian Malton
574aea40b4
Make DetectoryRegistry a Singleton and initialize in a function ( #3538 )
2021-08-04 08:48:33 -04:00
Sebastian Malton
9a8616f05e
Create c&p folder before starting kube sync ( #3428 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-04 08:02:21 -04:00
Sebastian Malton
14f8343170
PR authors must label their PRs ( #2985 )
2021-08-04 12:21:26 +03:00
Sebastian Malton
17b14f9871
Make sure that there are only ever 12 slots in a hotbar ( #3379 )
...
* Make sure that there are only ever 12 slots in a hotbar
- Send notification if hotbar is full
- Filter out on every fromStore call
- Switch to broadcast on error
- Fix addToHotbar index check
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* change when to/fromStore are located
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-04 10:37:08 +03:00
Sebastian Malton
fb74859f66
Split KubeObject related components into seperate folders ( #3533 )
2021-08-03 17:39:29 -04:00
Sebastian Malton
3fe8014f11
Move Hotbar types to seperate file ( #3532 )
2021-08-03 14:38:36 -04:00
Sebastian Malton
77077ef72c
Fix custom resources not having a fallback details component ( #3542 )
2021-08-03 12:31:44 -04:00
Sebastian Malton
a6e91fc34a
Move cluster related types and function into seperate files ( #3530 )
2021-08-03 10:36:14 -04:00
Sebastian Malton
2893ad956d
Notify user of error if confirmation dialog rejects promise ( #3179 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-03 10:09:19 -04:00
Sebastian Malton
4fc340d0c6
Cleanup integration and unit tests ( #3531 )
...
- Make mockWindow a function and call it when needed
- Change timeouts so that better error messages happen more often in
integration tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-03 08:51:52 -04:00
Sebastian Malton
b546f1df72
Simplify most of the KubeObjectDetailRegistry initial values ( #3529 )
...
- Keep one without any type param to make sure that an extension
developer can as well
- Keep one with a child type to make sure the same as above
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-03 08:51:13 -04:00
Sebastian Malton
b9bb990690
Add new SentryTransport to winston ( #3432 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-03 08:38:23 -04:00
Sebastian Malton
f35178175b
Ignore certain file globs when under dir kube sync ( #3452 )
...
- .DS_Store
- *.lock
- *.swp
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-02 15:02:55 +03:00
Sebastian Malton
1b88e63343
Set default type params for KubeObjectDetail related APIs ( #3528 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-29 10:55:41 -04:00
Sebastian Malton
9038d92eac
Remove package open ( #3504 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-29 08:36:45 -04:00
Sebastian Malton
ad86502368
Fix KubernetesClusters overriding entity names too often ( #3524 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-29 12:11:45 +03:00
Sebastian Malton
f507ec9e6c
Set defaults for EndpointSubsets ( #3454 )
2021-07-27 08:54:14 -04:00
Sebastian Malton
270d9d631c
Warn if ClusterPageMenuRegistration is a subMenu and has an Icon ( #3462 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-27 08:53:49 -04:00
Sebastian Malton
51b53b3349
Improve <NamespaceSelectFilter>'s UX ( #3490 )
...
- Display previously selected namespaces at the top of the option list
when first opened
- Don't resort after every selection
- Automatically close the option list if no longer in multi-select mode
and have toggled at least one namespace
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-27 08:53:34 -04:00
Sebastian Malton
91b3bd10ee
Only stopPropagration in onClick for the itemMenu ( #3502 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-27 08:53:22 -04:00
Sebastian Malton
1437f8a945
Fix auto cleanup of Extension's IPC classes ( #3505 )
2021-07-23 15:14:11 -04:00
Sebastian Malton
b71e71cdfc
Fix entity accessibleNamespaces ( #3507 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-23 12:48:49 -04:00
Sebastian Malton
07532b1552
Display hint to user on how to add items in an EditableList ( #3475 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-23 09:26:23 -04:00
Sebastian Malton
da53aa0d79
Treat default weblinks same as any other weblinks ( #3385 )
...
- Use seenWeblink and check for non-arrays
- Spread out link validation
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-22 20:28:01 -04:00
Sebastian Malton
0204eef848
Filter out undefined values in hotbar-store migration ( #3489 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-22 14:13:32 -04:00
Sebastian Malton
64ac04186b
Improve Table typing and remove annotations on callbacks ( #2981 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-22 10:42:27 -04:00
Sebastian Malton
84c767a3d2
release v5.1.3 ( #3477 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-22 09:55:34 -04:00
Sebastian Malton
cdb7c95b8f
Fix typings for KubeObjectDetailsRegistration ( #3460 )
2021-07-21 10:22:32 -04:00
Sebastian Malton
d52c4c3999
Fix onRun not executing everywhere :hover is defined for HotbarIcon ( #3316 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-21 08:08:39 -04:00
Sebastian Malton
fe33296ba5
Bundled extensions are always compatible in dev mode ( #3459 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-21 07:19:46 +03:00
Sebastian Malton
b7a24f4520
Default to empty array for 500Beta13 migration ( #3461 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-21 07:19:23 +03:00
Sebastian Malton
27f2bd7181
Wait for shell to bring up prompt before sending commands ( #3337 )
2021-07-20 15:25:18 -04:00
Sebastian Malton
f03cc59688
Wait for a file to be stable before computing diff ( #3427 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-20 09:32:37 -04:00
Sebastian Malton
a4f252864b
Add ability to trim the value from <Input> ( #3333 )
...
- If set (default = false) then the input will be trimmed of whitespace
before validation and before submit
- Use trim on all input's that use the systemName validator
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-20 09:30:02 -04:00
Sebastian Malton
14b70a6c53
Cleanup <EventEmitter> ( #3338 )
2021-07-20 08:39:44 -04:00
Sebastian Malton
686ae32dcb
When viewing a specific release, select its namespace ( #3440 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-20 10:32:15 +03:00
Sebastian Malton
cf3aceb465
Sort cronjob last scheduled time by number ( #3430 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-20 10:19:52 +03:00
Sebastian Malton
c4aeaf5bb7
Fix styling on cluster roles and bindings ( #3434 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-20 07:40:02 +03:00
Sebastian Malton
c590bccffa
Fix permissions issue on ServiceDetails under RBAC ( #3433 )
...
- Only watch the namespace that the service is in instead of all of them
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-20 07:34:23 +03:00
Sebastian Malton
70448159d3
Failing to loadAll should only warn ( #3442 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-20 07:33:38 +03:00
Sebastian Malton
078583412b
Use all namespaces for cluster overview warnings ( #3441 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-20 07:33:22 +03:00
Sebastian Malton
4873b85647
release v5.1.2 ( #3431 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-19 16:15:58 -04:00
Sebastian Malton
600d2c8607
Log as errors the places where getPortFrom can fail ( #3425 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-19 13:40:47 -04:00