* 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>
* New resource view: ReplicationController -- scaffolding files
Signed-off-by: Roman <ixrock@gmail.com>
* fix: inappropriate names after copy-pasting
Signed-off-by: Roman <ixrock@gmail.com>
* update replication controller api types/spec, fix menu title
Signed-off-by: Roman <ixrock@gmail.com>
* items list + details list views (added contents from replication controllers), lint fixes
Signed-off-by: Roman <ixrock@gmail.com>
* allow to scale replication controllers
Signed-off-by: Roman <ixrock@gmail.com>
* switched for scaling replicas with `Slider` component instead of `Buttons+Input`
Signed-off-by: Roman <ixrock@gmail.com>
---------
Signed-off-by: Roman <ixrock@gmail.com>
* Enable extension to specify storeName for persisting data
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Add unit tests and update injectables
Signed-off-by: Antti Lustila <antti.lustila@luotocompany.fi>
* Remove unnecessary mock
Signed-off-by: Antti Lustila <antti.lustila@luotocompany.fi>
---------
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
Signed-off-by: Antti Lustila <antti.lustila@luotocompany.fi>
Co-authored-by: Antti Lustila <antti.lustila@luotocompany.fi>
* Add a bit of spacing before Installed extensions title
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Update snapshot
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>