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

3398 Commits

Author SHA1 Message Date
Sebastian Malton
948eed4f1b
Release 6.4.0-beta.9 (#7042)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-27 11:34:55 -05:00
Sebastian Malton
6e9113ad5e
Rename package due to https://github.com/npm/cli/issues/2248 (#7041)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-27 11:33:30 -05:00
Sebastian Malton
465f23f578
Release 6.4.0-beta.8 (#7040)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-27 10:34:19 -05:00
Sebastian Malton
895bf0d632
Mark @k8slens/download-binaries as public access (#7039)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-27 10:33:44 -05:00
Sebastian Malton
6247c7647e
Release 6.4.0-beta.7 (#7038)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-27 10:06:26 -05:00
dependabot[bot]
882aa93bb7
Bump fork-ts-checker-webpack-plugin from 7.2.14 to 7.3.0 (#7032)
Bumps [fork-ts-checker-webpack-plugin](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin) from 7.2.14 to 7.3.0.
- [Release notes](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases)
- [Changelog](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/compare/v7.2.14...v7.3.0)

---
updated-dependencies:
- dependency-name: fork-ts-checker-webpack-plugin
  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-01-27 09:55:16 -05:00
dependabot[bot]
1bdac843c1
Bump @side/jest-runtime from 1.0.1 to 1.1.0 (#7036)
Bumps [@side/jest-runtime](https://github.com/reside-eng/jest-runtime) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/reside-eng/jest-runtime/releases)
- [Commits](https://github.com/reside-eng/jest-runtime/compare/v1.0.1...v1.1.0)

---
updated-dependencies:
- dependency-name: "@side/jest-runtime"
  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-01-27 09:50:14 -05:00
Jari Kolehmainen
a7134405cf
Fix missing core styles in dev mode (#7037)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-01-27 09:48:45 -05:00
Sebastian Malton
4e4934ba1a
Move downloading binaries to new package (#7033)
* Move downloading binaries to new package

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

* Remove old location from files

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

* Swtich @k8slens/download-binaries to provide a binary

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

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-27 09:48:33 -05:00
dependabot[bot]
9eec04ab87
Bump playwright from 1.29.2 to 1.30.0 (#7035)
Bumps [playwright](https://github.com/Microsoft/playwright) from 1.29.2 to 1.30.0.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.29.2...v1.30.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-27 08:24:31 -05:00
Sebastian Malton
2efee9b654
Release 6.4.0-beta.6 (#7031)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 13:52:24 -05:00
Sebastian Malton
460fa4d64d
Include template.html in package releases (#7030)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 13:51:42 -05:00
Sebastian Malton
f650f6991e
Include template.html in package releases (#7030)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 13:51:28 -05:00
Sebastian Malton
70872459b5
Fix dist tags being wrong (#7028)
* Add reusable CLI for parsing semver

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

* Use CLI to specify dist-tag

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

* Remove dead scripts

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

* Add git ignore

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 11:54:14 -05:00
Sebastian Malton
57bd19f51b
Release 6.4.0-beta.5 (#7027)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 10:29:26 -05:00
Sebastian Malton
abb6a3bcfb
Mark all packages as public (#7026)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 10:28:53 -05:00
Sebastian Malton
66ea8d4b37
Release 6.4.0-beta.4 (#7025)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 10:16:16 -05:00
Sebastian Malton
4fc8941863
Fix publishing @k8slens/node-fetch (#7024)
* Fix publishing @k8slens/node-fetch

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

* Switch to specifying access via yarnrc

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 10:15:23 -05:00
Sebastian Malton
b033d4e8b2
Release 6.4.0-beta.3 (#7023)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 09:47:08 -05:00
Sebastian Malton
b6295d6aa1
Make sure auth token for NPM registry is set (#7022)
* Make sure auth token for NPM registry is set

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

* Use plain `npm`

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 09:46:25 -05:00
Sebastian Malton
20572941d4
Release 6.4.0-beta.2 (#7021)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 09:11:14 -05:00
Sebastian Malton
3b88853d22
Release 6.4.0-beta.2 (#7021)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 09:09:01 -05:00
Sebastian Malton
ff6264a8c7
Release 6.4.0-beta.2 (#7021)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 09:08:40 -05:00
Sebastian Malton
60db48ca11
Revert remove GITHUB_TOKEN from release workflow (#7020)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 09:07:36 -05:00
Sebastian Malton
d8930ed030
Release 6.4.0-beta.1 (#7019)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 09:00:24 -05:00
Sebastian Malton
3569888609
Specify custom root to @k8slens/core package directory (#7018)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 08:58:59 -05:00
Sebastian Malton
1182682c01
Cleanup webpack configs (#7017)
- Deduplicate printing to console

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-26 08:58:51 -05:00
dependabot[bot]
06a930db57
Bump lerna from 6.4.0 to 6.4.1 (#7015)
Bumps [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/lerna/lerna/releases)
- [Changelog](https://github.com/lerna/lerna/blob/main/core/lerna/CHANGELOG.md)
- [Commits](https://github.com/lerna/lerna/commits/v6.4.1/core/lerna)

---
updated-dependencies:
- dependency-name: lerna
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-26 08:53:32 -05:00
Sebastian Malton
a809e12022
Release 6.4.0-beta.0 (#7014)
* Release 6.4.0-beta.0

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

* Fix release script

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-25 16:51:37 -08:00
dependabot[bot]
0721be49b2
Bump @typescript-eslint/eslint-plugin from 5.48.2 to 5.49.0 (#6999)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.48.2 to 5.49.0.
- [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.49.0/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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-25 16:19:12 -05:00
dependabot[bot]
21aa846648
Bump @typescript-eslint/parser from 5.48.2 to 5.49.0 (#6998)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.48.2 to 5.49.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.49.0/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-25 16:17:23 -05:00
dependabot[bot]
9935b58802
Bump @kubernetes/client-node from 0.18.0 to 0.18.1 (#6992)
Bumps [@kubernetes/client-node](https://github.com/kubernetes-client/javascript) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/kubernetes-client/javascript/releases)
- [Changelog](https://github.com/kubernetes-client/javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes-client/javascript/commits)

---
updated-dependencies:
- dependency-name: "@kubernetes/client-node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-25 16:17:03 -05:00
Sebastian Malton
20c0fd912f
Fix building docs and verify:docs workflow (#7013)
* Fix building docs and verify:docs workflow

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

* Fix commands

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-25 13:59:21 -05:00
Alex Andreev
2afc62c296
Fix monaco editor scroll block in config map details (#7000)
* Do not block config map details scrolling

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix linter

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-01-25 10:30:29 -05:00
Sebastian Malton
7d271a7b45
Add more resiliancy to listing kube API resource kinds (#6995)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-25 10:30:18 -05:00
Jari Kolehmainen
7e8ae3fded
Move node-fetch to separate package (#7009)
* move node-fetch to separate package

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix node-fetch package runtime error

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix test:unit nx dependency

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix test:unit nx dependency

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* Add prepare step for node-fetch

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

* Update lock

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

* Remove dead comment

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

* Remove unnecessary fetchModuleInjectable

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>
2023-01-25 17:13:41 +02:00
Sebastian Malton
591d9f30f3
Fix PodDistruptionBudgets not displaying on newer Kube versions (#6989)
* Add ability for KubeApi to filter server versions

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

* Update error message

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

* Fix tests

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

* Check preferred version for PodDistruptionBudgets

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

* Limit which versions can be used

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

* Make sure that details are show for all versions
- Remove duplicate versioning checks since everything must go through the API anyway

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

* Remove unnecessary logger as dep

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-25 09:47:31 -05:00
Alex Andreev
9b001adb07
Fix getting metrics name for HPA v1 (#7011)
* Add ability for KubeApi to filter server versions

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

* Update error message

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

* Fix tests

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

* Show metric name is targetCPUUtilizationPercentage is used

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Testing metric names in HPA details

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Linter fixes

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2023-01-25 09:04:56 -05:00
Sebastian Malton
c62fcb742c
Bump bundled helm to v3.11.0 (#6988)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-25 09:04:46 -05:00
Sebastian Malton
3436dfd46f
Add ability for KubeApi to filter server versions (#6908)
* Add ability for KubeApi to filter server versions

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

* Update error message

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>
2023-01-25 08:57:48 -05:00
dependabot[bot]
b2c440354c
Bump @swc/core from 1.3.25 to 1.3.28 (#7006)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.3.25 to 1.3.28.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/compare/v1.3.25...v1.3.28)

---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-25 08:45:40 -05:00
Jari Kolehmainen
ba95cc301e
fix core package name and version (#7007)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-01-25 15:22:35 +02:00
Alex Andreev
7440444ba3
Add --skip-nx-cache to lerna run dev command (#7010)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-01-25 08:17:57 -05:00
Sebastian Malton
a5a374a26d
Remove deleted make target invocation (#7005)
* Remove deleted make target invocation

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

* Remove last use of make in CI and delete last Makefile

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-25 03:33:45 -08:00
Jari Kolehmainen
2657df2293
Restructure to monorepo (#6907)
* wip: restructure to monorepo

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* refactor create-release-pr to a package

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* build fixes

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* github workflow fixes

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix typo

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* add webpack-env types to core

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix github workflows

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* refactor/fix integration tests

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* lint fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* yarn run dev

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* eslint settings for vscode

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* move templates to right package

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* open-lens build fixes

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* integration test fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix nx task dependencies

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* use bash shell for unit tests in test workflow

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix test:unit for windows

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix win-ca webpack error in open-lens

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix win-ca webpack error in open-lens

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix build:app on windows

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* remove ELECTRON_BUILDER_EXTRA_ARGS

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* sync src/ from master

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* remove Makefile from core

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-01-24 10:46:26 -08:00
Sebastian Malton
0066ca4ea2
Change renderer attempting to load CAs to go through main (#7003)
* Move files to features/ to simplify structure

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

* Request string CAs from main on renderer

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

* Fix override

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-24 19:30:38 +02:00
Alex Andreev
5f416921e9
Parse HPA metrics from different versions (#6971)
* First sketch of hpav2 metrics

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* HPA metrics initial tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Receive target Object metrics for v2

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* External target metrics

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add more types for ObjectMetricStatus

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Move metrics parsing from HPA object to separate injectable

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add metric parser for HPA v2

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Using metrics parser in hpa list and details

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add more test cases for HPA v2

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add HorizontalPodAutoscalerV1MetricParser

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding injectable for hpa v1 metric parser

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding test cases for autoscaling/v1 metrics

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add test cases for hpa beta versions

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Check for legacy targetCPUUtilizationPercentage

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix external metirc parser output

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Small clean up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Linter fixes

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Removing fallbackApiBases

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Remove left comments

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Making metric parser classes as not injectable

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix metrics in hpa details for newer versions

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Spreading types to V2 and V2Beta1

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Move getMetricName() to its own file

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-01-23 08:22:44 -05:00
Sebastian Malton
5eefa8f03a
Export type-space versions of constructors to fix extension API (#6990)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-20 14:34:16 -05:00
Juho Heikka
8634c3b56f
Do not show Created on DetailsPane when there's no timestamp. (#6984) 2023-01-19 18:47:20 +02:00
Sebastian Malton
305c4a5573
Remove last usages of request in our code (#6911)
* Improve the injectability of cluster metadata detection

- Remove unnecessary and complex base class

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

* Remove dead code

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

* Remove dead code

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

* Remove last usages of request in our code

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

* Remove more deps

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

* Fix tests

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

* Fix lensFetch

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-19 09:35:33 -05:00