* 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>
* 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>
* 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>
* 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>
* 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>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add flat TableHead param
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Use flat headers across details panel tables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* - <NamespaceSelectBadge/> new component refactored out from multiple resource views with excessive dependencies (e.g updating global namespace filter)
- better UX to and visibility for user on click action (sometimes namespace-filter might not be visible in app/UI)
- updated some snapshots with `jest --updateSnapshot src` (somehow affected `helm-charts/releases/*`)
* Cleanup loading terminal fonts
- Make list of possible fonts fully OCP
- Only mark the loading of a font as 'causesSideEffects'
- Make a view model for the terminal font preferences component
- Move the TTF files next to where they are registered to help with finding them
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Cleanup formatting and change model to presenter
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
- Make sure that dependency constructors are not exported
- Readd `KubeJsonApi.forCluster`
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Make sure secrets get passed through
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix bump master version
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
- Don't create a PR if the previous release was just an alpha or beta
- Correct the label used on the PR
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>