* fix: Dispose the kubeconfig watcher when application quits
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* fix: Dispose the extension watcher when application quits
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Drop package-lock since 6.4 is still using yarn
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add check for no relevant PRs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Release 6.4.14
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Restore disk metrics to PersistentVolumeClaim details page (#7427)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
* Stop all extensions before quitting app (#7450)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Close Lens Proxy on quit of backend (#7453)
- Extract global shared state of shell sessions
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix crash due to non base64 encoded secrets (#7448)
* Fix crash due to non base64 encoded secrets
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update snapshot
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add temporal dependency to initializeExtensions (#7454)
- So that extensions can ensure that the shell env is up to date
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Release 6.4.13
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fixup cherry pick
- 6.5 has @k8slens/utilities but 6.4 does not
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix cherry-pick due to files being moved between 6.4 and 6.5
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* wait app to be ready before creating a BrowserWindow for system proxy resolver (#7443)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Release 6.4.12
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
---------
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Fix app crash on quit
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Back out disabling extensions on quit
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix behaviour of auto generated CRD KubeApis and KubeObjectStores (#7384)
* Simplify CRD KubeApi registrations
- Switch to auto injectable registrations
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Make sure that stores can still be retrieved
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Cleanup get extension fake to simplify impl
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Simplify logic for extensionInjectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix test in differencing registrator
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Cleanup code style
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix some tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix HPA details tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Release 6.4.9
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix resolve system proxy error when no windows available (#7375)
* fix resolve system proxy error when no windows available
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix electronBrowserWindowInjectable id
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
---------
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix resolveSystemProxyFromElectron causing a crash on quit (#7379)
* destroy resolve system proxy window on before quit
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* resolve system proxy window: load blank page
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* disable paintWhenInitiallyHidden
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
---------
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Release 6.4.8
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: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* White-listing of telemetry params (#7262)
* Drop support for adding telemetry by tagging
This was not used, and would make development of future feature more difficult.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
* Introduce white-listing for params of telemetry
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
* Fix linting
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
* Make misconfigured telemetry for function parameters log the error, and not blow up fatally
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
---------
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
* Release 6.4.5
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
---------
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
* Navigate to catalog explicitly on cluster disconnect (#7304)
* Navigate to catalog explicitly on cluster disconnect
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Release 6.4.4
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fix not showing some non-core kinds
- Specifically if a Kind is not present within the preferredVersion of
a group then we don't know that resource exists
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add technical tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix namespaces not respecting accessible namespace config
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix warning hover text formatting
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Log state after refresh accessibility
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix NamespaceStore.allowedNamespaces
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove unnecessary '?'
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add deprecation messages
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move selected_namespaces storage to injectable
- And its initialization
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Implement contextNamespaces logic in forNamespacedResources
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update snapshot
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix formatting
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix formatting
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix test
- This was a side effect of the previous bug fixes where
the clusterContext.hasAllSelected was previously erroneously 'false'
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Change log level
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix another test suite
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix request namespace list permissions check if a list rule is not the first match (#7282)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Fix cluster metadata detectors (#7255)
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
* Fix extension API not having all the correct types (#7263)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update release guide and fix release script (#7276)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Release 6.4.2
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
---------
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
* should show resource if missing allowedResources data (#7274)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Release 6.4.1
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
---------
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* General fixes for release-tool (#7238)
* General fixes for release-tool
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Revert change to number of PRs retrieved
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Throw on errors in kubectlApplyFolder (#7239)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Quick fix for store migration version being wrong (#7243)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Revert "Renderer file logging transport (#6795)" (#7245)
Renderer file logging still caused UI freezing (at least on apple silicon macs) when cluster frame was open and main frame was reloaded.
See #544
This reverts commit ac2d0e46ff.
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Fix extension install (#7247)
* Fix extension install
- Remove old bundled extension dependencies
- Make sure external extensions are installed as optional
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Ignore ENOENT errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add comment
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Release 6.4.0
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
Co-authored-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
Co-authored-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Various improvements to release-tool (#7232)
* Various improvements to release-tool
- Pass more IO from script to user to provide better UX
- Interactive versioning using lerna directly
- Remove all CMD args in favour of interactive
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove some more unnecessary console logs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Resolve comments
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix repoRoot issue
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* De-spagetti-ify release-tool
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix bugs related to picking PRs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix name
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Improve display after picking PRs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Rename pickWhichPRsToUse
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add line describing what to do
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix not displaying output after cherry-pick fails
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Roman <ixrock@gmail.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix ApiManager not handling duplicate apiBases of KubeApis (#7235)
* Add failing unit test
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix failing unit test
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Allow extensions to opt-out of KubeApi auto registering (#7217)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove all references to slack (#7233)
* Remove all references to slack
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix readme
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Cleanup migration
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Remove existing slack link from weblink store
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix type error and wording on ErrorBoundary
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Don't export forumsUrl to extension API
- Also just remove slack URL
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update snapshots again
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update snapshots again v3
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Revert remove slackUrl
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix filtering
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix readme
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* More of a fix
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Try again
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Slightly better for now
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* "Release 6.4.0-beta.17"
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Roman <ixrock@gmail.com>
* UX: allow to navigate to namespace (if available) in every kube-resource details view (via: `<KubeObjectMeta/>`)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix ensure hashed directory for extension
Earlier open lens versions stored extension_data directory based on
path of extension's package.json. This causes problems
because extensions have moved to new location. This ensures
backward compatibility that extension will get the same
directory than before the change.
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
* Reconstruct the key for old hashed directories
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
* Remove unnecessary return
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
* Use sync version of random bytes
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
* Add migration to new type of key
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
* Fix global override for random bytes to not return a promise
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
* Make registeredExtensions a dependency
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
---------
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
By default this info is shown in every resource-details view (`default-kube-meta-details-item.injectable.ts` injects `<KubeObjectMeta/>` at the top of details-view contents)
Signed-off-by: Roman <ixrock@gmail.com>
* Replace logsViewModelInjectable lifecycle
to keyedSingleton
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Await logs view model to instantiate
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove async from instantiating LogTabViewModel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fix LogList overflow (#7178)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Export requestMetrics to extension api
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fixup typing
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Revert change
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Make diff smaller
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>