Sebastian Malton
8ad761b045
Fix injecting before app paths are set up
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
26af59ad64
Fix override file name
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
ff54c042b6
Complete cherry-pick of current cluster injcetablization
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
41a9957ede
Fix incorrectly fully cherry picking new runnable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
5d39fe5539
Fix duplicate mock warning
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
9877f99c3a
Fully cherry pick injectablizing custom monaco themes
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
866a69ef67
Remove dead code
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
6f4ddf72e8
Remove unnecessart awaits
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
76931f8aa8
Fix old imports
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
8b9a9ab25f
Manually split out terminal color names and fully type LensTheme
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
621ca72f13
Cleanup old code from missed from previous commit
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
963651ef4b
Make LensTheme fully injectable and runnable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
56c78c8c8b
Move init hotbar store into runnables
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
f7b5ae7b57
Make cluster state sync fully injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
659b63d0cf
Convert navigateForExtension init to runnable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
d585b0957c
Convert contextMenuOpen initializers into runnables
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
0cad3e7bae
Move initializing CatalogCategories to runnable in bootstrap
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
9e1d182459
Consolidate more bootstrapping into startFrame
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
01d3914b5a
Fully injectable-ize BaseStore so that ApplicationBuilder tests work
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
cf0ca414ea
Fix test failures due to incomplete overrides
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
4875f24af3
Remove dead code
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
36063d86af
Add stat to fake FS
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
69cfe9a25e
Add createReadStream to fake FS
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
e10be8a4f0
Use pathExistsSync instead of fsInjectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
06f4802748
Fix type error
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
8409d56fdf
Add ensureDir/Sync support to fake FS
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
af48b7de5f
Handle copy as part of fake FS
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
f7c3657e60
Add fake access support
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
906172bc29
Remove use of global shared Electron.App
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
8d55a3a08d
Overhaul FS fakes with full in-memory filesystem
...
- This increases our confidence in fs related logic
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
6cc89bf154
Remove overrides for configuration stores
...
- Now that there is an override for getConfiguration
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
bea52f9f80
Add global override for getConfigurationFileModel to fix tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
59657fcea4
Fix user store tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
c4a8604b25
Fix hotbar store tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
bbf6ec38bf
Fix runManyFor tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
9dbc6bc293
Fix base store tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
570d252950
Add global override to fix tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
4feff54796
Remove traces
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
ed99f24420
Use multiple runAfter support to fix crash on renderer
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
5b80dfc70a
Add support for multiple "runAfter" runnables
...
- Needed so that several dependencies can be declared
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
f9084bc2b7
Remove unneeded appPathsInjectionToken
...
- Only had once impl, which was in common anyway
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
0460db2e12
Move initializing sentry to runnable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
8410a82596
Add catching of error while starting main application
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
8217ad4ba8
More consistent use of BaseStore.displayName
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
0cf9f9e536
Fix typing in tests to satisfy requirement to have cacheFile
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
33e76313bd
Cleanup formatting
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
ace5673a3d
Add typing to transient injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
5a1fd72767
Fix messed up import
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
39d38252cc
Add simple migrations dependency for stores without any preexisting migrations
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
21039e2387
Remove usage of legacy global ClusterStore.getInstance
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
bd47377dd1
Remove usage of legacy global .getInstance
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
303a397209
Remove tests that reference lastSeenVersion
...
- That value is not used anywhere in code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
a4ae7c0b41
Fix type error in base-store tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
846236452c
Remove dead code
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
a55cd67d6c
Switch WeblinkStore to injectable migrations
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
6620bb5340
Move migration utils into common/utils/
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
3958e613ec
Switch UserStore to injectable migrations
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
1aa3e46262
Switch HotbarStore to injectable migrations
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:58 -05:00
Sebastian Malton
ad814ebdf6
Introduce method to make store migrations injectable
...
- Use it for ClusterStore
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:58 -05:00
Sebastian Malton
3dce6f916e
Extract BaseStore deps into constructor argument
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:58 -05:00
Sebastian Malton
1c277a96fb
Remove last use of legacy global execHelm
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:58 -05:00
Sebastian Malton
4c1e1ac1db
Replace use of legacy global execHelm with injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:58 -05:00
Sebastian Malton
9fee31a872
Remove more usages of Singleton
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:58 -05:00
Sebastian Malton
257082e699
Remove Singleton from BaseStore to remove global shared state
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:58 -05:00
Alex Andreev
667a978952
Fix top-bar .separator width ( #6706 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-12-06 15:07:11 +03:00
Sebastian Malton
9ba92cb072
Replace CatalogEntityDetailRegistry with an injectable solution ( #6605 )
...
* Replace EntityDetailRegistry with an injectable solution
- Add some behavioural tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update snapshots
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix import error
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Simplify loading extensions
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update snapshot
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove the last reminents of BaseRegistry
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix import errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix TypeError when loading extensions
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update snapshots
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Cleanup LensExtensions
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove bad comment
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-02 10:31:27 -05:00
dependabot[bot]
1acacbb7ef
Bump react-select from 5.6.1 to 5.7.0 ( #6696 )
...
* Bump react-select from 5.6.1 to 5.7.0
Bumps [react-select](https://github.com/JedWatson/react-select ) from 5.6.1 to 5.7.0.
- [Release notes](https://github.com/JedWatson/react-select/releases )
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@5.6.1...react-select@5.7.0 )
---
updated-dependencies:
- dependency-name: react-select
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update snapshots
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2022-12-02 10:31:09 -05:00
Sebastian Malton
5c69b273b1
Fix crash in PersistentVolumeDetails ( #6691 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-02 04:53:14 -08:00
Sebastian Malton
ad31b73264
Fix not being able to add custom helm repos ( #6692 )
...
* Add missing safety checks in unit tests for structured clone issues
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix not being able to add custom helm repos
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-02 04:53:00 -08:00
Alex Andreev
33e6771da3
Fix: remove excessive scrollbars from the TabLayout view ( #6689 )
...
* Remove excessive scrollbars from the TabLayout view
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Updating snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Updating snapshots harder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-12-01 09:32:41 -05:00
Sebastian Malton
4cb1946110
Fix race conditrion preventing window from opening ( #6680 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-01 09:22:18 -05:00
Sebastian Malton
a546f3b8ae
Add buttons to quicky filter the current view by a specific namespace ( #6677 )
...
* Add quick namespace filtering in pods view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to HorizontalPodAutoscalers view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to Leases view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to LimitRanges view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to ConfigMaps view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove last usage of legacy global
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to PodDisruptionBudgets view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to ResourceQuotas view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to Secrets view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove last usage of legacy global secretsStore
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to CustomResources view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to Events view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to HelmReleases view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to Endpoints view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove last usage of legacy global endpointsStore
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to Ingresses view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to NetworkPolicies view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to PortForwards view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to Services view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to PersistentVolumeClaims view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to RoleBindings view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to Roles view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to ServiceAccounts view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to CronJobs view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to DaemonSets view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to Deployments view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to Jobs view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to StatefulSets view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add quick namespace filtering to ReplicaSets view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove last usage of legacy global replicaSetStore
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix up missing styles
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-01 09:20:56 -05:00
Sebastian Malton
261aa2935a
Fix not displaying any pie charts when missing only some data ( #6671 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-30 04:31:11 -08:00
Sebastian Malton
b77044a8f9
Fix back navigation in entity settings ( #6670 )
...
- The bug was that the user would cycle through all the settings viewed
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-30 04:30:55 -08:00
Iku-turso
75aee7e4fd
Make preferences from extensions using tabs "application" and "telemetry" appear as last ( #6674 )
2022-11-30 11:37:18 +02:00
Iku-turso
1e0094bd8e
Fix extensions using "application" as magic string for preference tab ( #6666 )
...
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2022-11-29 12:13:09 -05:00
Sebastian Malton
005ed1c34e
Remove uses of legacy global logger from injectables ( #6660 )
...
- Clean up some of them to use more injectables
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-29 08:56:09 -05:00
Sebastian Malton
9589175604
Make EntitySettingRegistry fully injectable ( #6604 )
...
* Make EntitySettingRegistry fully injectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add behavioural tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Revert tsconfig change
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update snapshot
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Improve naming
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-28 12:13:15 -05:00
Sebastian Malton
286e6c8de7
Make PrometheusProviderRegistry fully injectable ( #6592 )
...
* Stop using source code in build file
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add new injectable version of binaryName
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add new NormalizedPlatform type
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Switch legacy execHelm to use legacy global DI for binaryPath
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove dead code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Introduce injectable for kube auth proxy certs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Introduce injectable forms of PrometheusProviders
- Remove class requirement
- Make everything injectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update tests to not use private functions
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Cleanup creating binary names and paths
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-25 09:19:57 -05:00
Sebastian Malton
65b14b9e7b
Improve UX for shell env sync failure ( #6644 )
...
* Move files to be under a feature folder
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add error notification on shell sync failure
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Improve error handling of case where match is not found
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-25 04:53:09 -08:00
Sebastian Malton
27fb128c05
Handle globalAgent having a single non-array CA ( #6628 )
...
* Handle globalAgent having a single non-array CA
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Rewrite ternary as IIFE
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-24 11:28:33 -08:00
Sebastian Malton
6142aad5ab
Make ResourceStack fully injectable ( #6591 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-24 08:46:53 -05:00
Jari Kolehmainen
245e132ada
Fix KubeApi watch retry on timeout ( #6640 )
...
* fix KubeApi watch retry on timeout
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2022-11-24 08:44:35 -05:00
Alex Andreev
95cee3bcc8
Removing big padding after cluster settings avatar ( #6634 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-11-23 14:52:13 +03:00
Sebastian Malton
573cd83bfb
Fix crash when upgrading release ( #6626 )
...
* Fix crash when upgrading release
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix crash when upgrading helm releases
- Fixes not being able to upgrade helm releases as well.
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix test failures
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-23 03:38:37 -08:00
Janne Savolainen
892b105a6b
Add missing gutter between sections in cluster settings ( #6631 )
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-11-23 12:16:46 +03:00
Sebastian Malton
0eee5a07c5
Remove mac-ca usage since it was only in tests ( #6043 ) ( #6321 )
...
* Remove mac-ca usage since it was only in tests (#6043 )
* Make injecting CAs injectable, remove mac-ca as dependency
* Fix win-ca failing on electron renderer on windows
* Fix the matcher under features/ for main
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix type errors from new types
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Temp change to see windows errors on CI
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix temp change
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Change error message for windows
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Increase maxBuffer size when reading windows CAs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Switch back to running integration tests on windows
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix usage after rebase
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update lock file
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-22 15:23:01 -05:00
Andreas Hippler
6d7090f8a7
fix: getAllowedResources for all namespaces using SelfSubjectRulesReview ( #6614 )
...
* fix: getAllowedResources for all namespaces using SelfSubjectRulesReview
Signed-off-by: Andreas Hippler <andreas.hippler@goto.com>
* fix: refresh accessibility every 15 min
Signed-off-by: Andreas Hippler <andreas.hippler@goto.com>
* chore: remove unused clusterRefreshHandler
Signed-off-by: Andreas Hippler <andreas.hippler@goto.com>
* fix: resolve SelfSubjectRulesReview globs
Signed-off-by: Andreas Hippler <andreas.hippler@goto.com>
Signed-off-by: Andreas Hippler <andreas.hippler@goto.com>
Co-authored-by: Andreas Hippler <andreas.hippler@goto.com>
2022-11-22 09:48:59 -08:00
Sebastian Malton
98e42cf25f
Make ClusterFrameManager fully injectable ( #6590 )
...
* Make ClusterFrameManager fully injectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-22 09:10:22 -05:00
Jim Ehrismann
7b5e1b8a31
Update Button, keep left ( #6612 )
...
* Update Button, keep left
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* update snapshots
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-11-18 16:28:48 -05:00
dependabot[bot]
9c64ddd59e
Bump typescript from 4.8.4 to 4.9.3 ( #6606 )
...
* Bump typescript from 4.8.4 to 4.9.3
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.8.4 to 4.9.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.8.4...v4.9.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2022-11-18 10:10:23 -05:00
Sebastian Malton
1b6f64c523
Remove spdy support ( #6580 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-17 13:02:47 -05:00
Sebastian Malton
56e7897bc4
Block renderering non http(s):// links via <Icon> ( #6588 )
...
* Block renderering non http(s):// links via `<Icon>`
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix type error
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Still render icon, just without href
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix unit tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-17 11:10:54 -05:00
Panu Horsmalahti
1861fe2049
Allow computed tray menu for extensions ( #6598 )
...
* Add computed tray menu for extensions.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Use disposer. Fix style.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Register/reregister injectables by id.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2022-11-17 11:03:25 -05:00
Sebastian Malton
a91e3a7f8e
Fix not using the users configured shell for sync ( #6589 )
...
* Fix not using the users configured shell for sync
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix issue with use of userShellSetting in ShellSessions
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-17 10:15:56 -05:00
Sebastian Malton
a89eb486d8
Fix not being able to install Lens metrics ( #6597 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-17 09:56:10 -05:00
Sebastian Malton
8dd1d1a8fa
Add winston formatting support for error causes ( #6576 )
...
* Add winston formatting support for error causes
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix failing to run built version
- Finally make logger fully injectable
- Simplify startMainApplication to only have runMany(Sync) invocations
to fix time of use bugs related to logger
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove legacy type enforced ipc to fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix type error
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-17 14:56:16 +02:00
Sebastian Malton
bc1d11aca7
Do not mark terminating namespaces as disabled ( #6577 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-16 04:34:49 -08:00
Sebastian Malton
05ab0a3f55
Remove hyperlink of Helm Maintainers ( #6579 )
...
- Instead just show the name and email
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-16 04:34:34 -08:00
Sebastian Malton
3ad841bc15
Fix CronJob trigger menu missing ( #6581 )
...
- It was only missing for users of newer versions of Kube
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-16 04:31:31 -08:00