1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Commit Graph

3670 Commits

Author SHA1 Message Date
dependabot[bot]
2f06413fb7 Bump underscore from 1.7.0 to 1.13.6
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.7.0 to 1.13.6.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.7.0...1.13.6)

---
updated-dependencies:
- dependency-name: underscore
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 14:24:16 -04:00
Sebastian Malton
de36379a81 Release 6.5.0-alpha.4
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-12 09:06:17 -04:00
Juho Heikka
53cb3a5d38
Add metrics Feature (#7507)
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2023-04-12 14:40:00 +03:00
Henry Chen
01cc0186e5
Set status item padding-inline to 0 if there is no children elements (#7529)
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2023-04-12 09:46:23 +03:00
Alex Andreev
2ada830418 Fix table header
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
03632626ce Clean up mutating webhook configs api
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
88f832012d Add styles for details panel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
6564f89db8 Removing <b> tags
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
61602d9628 Customize search input placeholder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
dbd480212d Add Rules details item
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
a3a16c42c9 Add namespace selector
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
86eda1d751 Set mutatingwebhookconfigs as cluster-scoped
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
f00c6129d7 Add object selector details item
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
a308320dd6 Remove namespace and labels columns
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
02e24735b8 Fix webhook field scoping
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
9c2884a671 Change sidebar link parent to Config item
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
78f9c2ec07 Add rbac rules
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
07d5ddfda8 Add detail item injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
849e2b6397 Add index.ts for exporting list and details
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
afd7413849 Add mutatingWebhookConfigurationsRouteComponentInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
66252f068d Add more fields to details panel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
831c1f1d1e Webhook Config initial details page
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
c6b1306d9a Adding webhook sidebar items injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
18ea6c2a4f Adding webhook list and store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
1d96760a3a Adding mutating-webhook-configuration.api export to endpoints index.ts file
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
34f7b2f6b1 Adding routes and navigate-to injectables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
704a642276 Add mutatingWebhookConfigurationApiInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
Alex Andreev
626fe1a890 Add MutatingWebhookConfiguration api
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-11 15:10:26 +03:00
dependabot[bot]
9ea01a4062 Bump immer from 9.0.19 to 9.0.21
Bumps [immer](https://github.com/immerjs/immer) from 9.0.19 to 9.0.21.
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](https://github.com/immerjs/immer/compare/v9.0.19...v9.0.21)

---
updated-dependencies:
- dependency-name: immer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 10:10:09 -04:00
dependabot[bot]
aaaf982ed7 Bump @typescript-eslint/eslint-plugin from 5.55.0 to 5.57.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.55.0 to 5.57.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.57.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 10:09:40 -04:00
Sebastian Malton
c9cd1cd8e0 chore: Update snapshots due to behaviour changes
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-06 09:05:27 -04:00
Sebastian Malton
82bf67cc9e chore: Simplify extension dependency injection
- Has better typing
- Removes use of unnusual unique symbol
- Fix welcome banner tests
    - Update associated snapshots
- Start converting custom column tests to use ApplicationBuilder
- Remove old and unnused RecursiveTreeView
- Introduce new TreeView for use in CatalogMenu to fix tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-06 09:05:27 -04:00
Sebastian Malton
5db8fc1342 chore: Remove explicit throw when finding platformSpecificVersion
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-05 16:17:50 -04:00
Sebastian Malton
c0ebe605c4 fix: Fix tests by recreating non-specific injection token
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-05 16:17:50 -04:00
Sebastian Malton
477ad3caa4 chore: fix lint for main webpack
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-05 16:17:50 -04:00
Sebastian Malton
3c8839151c chore: move test-env specific versions to own folder
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-05 16:17:50 -04:00
Sebastian Malton
5fc32c0b27 chore: convert request-system-cas to use PlatformSpecific
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-05 16:17:50 -04:00
Sebastian Malton
75a1b0a983 chore: move PlatformSpecific back to core
- This is needed in 6.4 and this will make that transition easier

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-05 16:17:50 -04:00
Sebastian Malton
0bc3d9f8b2 feat: Introduce PlatformSpecific as a new wrapper type for injectables
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-05 16:17:50 -04:00
Sebastian Malton
9b0318b493 fix: remove platform specific injectable file names
- Causes issues due to a single platform being used to build the library

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-05 16:17:50 -04:00
Sebastian Malton
630928d6ba chore: fix spelling
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-05 16:17:50 -04:00
Sebastian Malton
15d3829319 Fix cherry-pick of #7504
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-05 14:41:38 -04:00
dependabot[bot]
87453b2f14 Bump joi from 17.8.4 to 17.9.1
Bumps [joi](https://github.com/hapijs/joi) from 17.8.4 to 17.9.1.
- [Release notes](https://github.com/hapijs/joi/releases)
- [Commits](https://github.com/hapijs/joi/compare/v17.8.4...v17.9.1)

---
updated-dependencies:
- dependency-name: joi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 13:49:18 -04:00
Janne Savolainen
a3716baaf0 Stop file system watchers on application quit to prevent exit code !== 0 (#7504)
* 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>
2023-04-05 13:35:13 -04:00
Sebastian Malton
807f98ed1b
Persist apiVersion when editing resources in monaco (#4406)
* Persist apiVersion when editing resources in monaco

- Use a new custom k8slens prefixed label

- Means that users aren't surprised when they use lens to update a
  resource to a new apiVersionWithGroup

- Doesn't touch the versions in the stores

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix lint

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* fix: Fix lint issues

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* chore: make lint not bail on failure

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* chore: Run lint:fix on all files

Signed-off-by: Sebastian Malton <sebastian@malton.name>

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-05 10:56:23 -04:00
Sebastian Malton
058494bc73
Introduce clearer boundry between extensions (#7164)
- Bundled extensions are always enabled, and are always compatible
- Have bundled extensions be loaded asyncronously to support
  typescript dynamic import (which is typed) as opposed to require

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-05 10:21:38 -04:00
Sebastian Malton
351f9d492f
fix: Referencing apiManager should not throw (#7468)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-05 10:17:35 -04:00
Sebastian Malton
128b05d4d4
feat: Allow built versions to specify an environment (#7495)
* feat: Allow built versions to specify an environment

- This should be hard coded at build time

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* chore: Add default value to open-lens

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* chore: Add  --no-bail to test script invocations

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* chore: Add tests for coverage of new code

Signed-off-by: Sebastian Malton <sebastian@malton.name>

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-05 10:17:21 -04:00
dependabot[bot]
af1808dbb3
Bump @ogre-tools/injectable-extension-for-mobx from 15.1.2 to 15.3.0 (#7503)
Bumps [@ogre-tools/injectable-extension-for-mobx](https://github.com/ogre-works/ogre-tools) from 15.1.2 to 15.3.0.
- [Release notes](https://github.com/ogre-works/ogre-tools/releases)
- [Changelog](https://github.com/ogre-works/ogre-tools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ogre-works/ogre-tools/compare/v15.1.2...v15.3.0)

---
updated-dependencies:
- dependency-name: "@ogre-tools/injectable-extension-for-mobx"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 10:04:55 +03:00
dependabot[bot]
1e6c859539
Bump tailwindcss from 3.2.7 to 3.3.1 (#7458)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.2.7 to 3.3.1.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.7...v3.3.1)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 08:14:55 -04:00