Commit Graph
3342 Commits
Author SHA1 Message Date
Sebastian Malton c504065743 Check metadata labels is an object in getRoleLabels (#3416)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-19 07:46:55 +03:00
Sebastian Malton c1554d90f2 Catch Cluster create error in cluster-manager (#3401)
* Catch Cluster create error in cluster-manager

- Only warn if the file is missing. The file must have disapeared
  betweeen kubeconfig-sync detecting it and cluster-manager performing
  the addCluster call

- For all other errors log an error

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

* Fix spelling

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

* Use logger

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-19 07:34:18 +03:00
dependabot[bot] b03a255f29 Bump webpack from 4.44.2 to 4.46.0 (#3413)
Bumps [webpack](https://github.com/webpack/webpack) from 4.44.2 to 4.46.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.44.2...v4.46.0)

---
updated-dependencies:
- dependency-name: webpack
  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>
2021-07-19 07:32:59 +03:00
Sebastian Malton 7f332d24b2 release v5.1.1 (#3414)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-16 23:04:17 -04:00
Alexandre Barone 8c5457cf89 Fix broken shell when workdir not exists (#3349)
Signed-off-by: devodev <abalexandrebarone@gmail.com>
2021-07-16 14:07:06 -04:00
dependabot[bot]andAlex Andreev acbca1ac1d Bump mock-fs from 4.12.0 to 4.14.0 (#3117)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-16 14:06:49 -04:00
Sebastian Malton eef5dd5f9c Display toleration's value in pod-details (#3384)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-16 08:57:26 -04:00
Josh SorefandJosh Soref e87b4836be Fix spelling (#3181)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-07-16 08:53:01 -04:00
Sebastian Malton 9903417fed Failing to load chart releases should only warn (#3399)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-15 17:16:54 -04:00
Sebastian Malton ea4a5a4c57 getPortFrom should log the lines it retrived if it fails to get a port (#3395) 2021-07-15 14:19:33 -04:00
Sebastian Malton c3823b9d27 Failing to load KubeStateMetrics should only warn (#3394)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-15 13:52:21 -04:00
Sebastian Malton 873a165a60 Fix clusters not being defined (#3392)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-15 12:59:43 -04:00
Sebastian Malton f9635504f9 Stringify errors that get sent to notifications (#3393)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-15 12:59:03 -04:00
Sebastian Malton 07fbf74100 release v5.1.0 (#3390)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-15 10:29:56 -04:00
Sebastian Malton 074b1562dd release v5.1.0-beta.2 (#3381)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-14 10:48:59 -04:00
dependabot[bot] 89a3575f9d Bump raw-loader from 4.0.1 to 4.0.2 (#3373)
Bumps [raw-loader](https://github.com/webpack-contrib/raw-loader) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/webpack-contrib/raw-loader/releases)
- [Changelog](https://github.com/webpack-contrib/raw-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/raw-loader/compare/v4.0.1...v4.0.2)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-14 10:27:58 -04:00
Sebastian Malton 2d831af78c Update yarn.lock (#3380)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-14 09:11:17 -04:00
Sebastian Malton c029039035 Remove conflicting classNames under quota-entries (#3334)
- Both flex and inline modify the display rule and inline was winning

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-14 08:33:41 -04:00
Sebastian Malton 0a8cf96415 Add kube-version and distro on detail panel (#3335) 2021-07-14 08:30:57 -04:00
Sebastian MaltonandAlex Andreev 9c2942c333 Fix .TableHead.sticky in for details panels (#3331)
* Fix .TableHead.sticky in for details panels

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

* Fine-tune TableHead styling in PodDetailsList

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

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-14 12:31:58 +03:00
Sebastian Malton f2cd0aa8e8 Catch empty string error is parseKubeApi (#3358)
* Catch empty string error is parseKubeApi

- Add more debugging lines

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

* Add some unit tests

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

* Use resolved pathname

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-14 08:48:32 +03:00
Jim Ehrismann 2059034eab remove unused filenamify package (#3371)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-07-14 08:47:06 +03:00
Sebastian Malton c335b0f054 Only create TerminalStore after ThemeStore (#3359)
- Use Proxy for backwards compatability

- Fix a bunch of unit tests that needed all the Singleton's created

- Add comments on the order required for the store migrations

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-13 12:36:46 -04:00
Sebastian Malton 9e363b8d5f Remove win-ca/pem before publish & catch inject error (#3362) 2021-07-13 11:40:52 -04:00
ca1ad425ab Badge: option to show short/full versions of contents (#1397)
* add button to expand and view whole badge contents

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

* revert font changes due to update elsewhere already existing

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

* make expanding icon smaller and not focusable

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

* extended badge content by click, selecting text from label doesn't trigger auto-closing

Signed-off-by: Roman <ixrock@gmail.com>

* fix: hover only intercative badges (with extra content)

Signed-off-by: Roman <ixrock@gmail.com>

* added common document/selectionchange watcher

Signed-off-by: Roman <ixrock@gmail.com>

* lint fixes

Signed-off-by: Roman <ixrock@gmail.com>

* Convert Badge to CSS Modules

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

* Align Badge styles across components

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

* Cleaning up

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

* Not closing badge if user started to select text

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

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-13 17:00:11 +03:00
Alex Andreev ebb54facf9 Removing limits and requests from Pod metrics (#3369)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-13 15:58:55 +03:00
Sebastian Malton dfd9843809 Provide better typing for dock tabs (#3340) 2021-07-13 08:44:27 -04:00
Violetta Shakirova c0c1139e3e Fix incorrect CRD casing (#3365)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-07-13 15:35:06 +03:00
Sebastian Malton 5bccc27204 Check for unset pod spec (#3361)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-13 08:51:49 +03:00
Sebastian Malton 485783167d Add SystemName validation to AccessibleNamespaces (#2754)
- Don't validate after a submit

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-12 16:13:24 -04:00
Sebastian Malton c6618bde88 release v5.1.0-beta.1 (#3360) 2021-07-12 15:58:25 -04:00
Jim Ehrismann d0d6233869 ignore Lens's prerelease tag when checking extension compatibility (#3317) 2021-07-12 12:34:34 -04:00
Sebastian Malton 9b2031159d Ignore extensions' clusters when adding to kubeConfigSync (#3313) 2021-07-12 12:05:05 -04:00
Violetta Shakirova 621f5ba0b3 Make node shell image configurable (#3249)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-07-12 11:21:46 -04:00
Sebastian Malton 26fb2e796e Fix not being able to configure non-Lens prometheus settings (#3355)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-12 10:13:11 -04:00
Jari Kolehmainen 50ec37f158 Set res.statusCode before flushing headers (#3353)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-12 10:07:54 -04:00
chh f86360d641 Fix Sentry integration bugs (#3325) 2021-07-12 09:42:51 -04:00
Jari Kolehmainen ff704b5d3d sync activeEntity to cluster renderer (#3323)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-12 09:18:08 -04:00
Violetta Shakirova 538c6c2013 Selecting one namespace at a time (#2919)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-07-12 11:36:26 +03:00
Sebastian Malton 52ab699426 Remove <CubeSpinner> and <AppInit> as both are unused (#3336)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-12 08:45:15 +03:00
dependabot[bot] 3e18b619be Bump jest-mock-extended from 1.0.10 to 1.0.16 (#3341)
Bumps [jest-mock-extended](https://github.com/marchaos/jest-mock-extended) from 1.0.10 to 1.0.16.
- [Release notes](https://github.com/marchaos/jest-mock-extended/releases)
- [Commits](https://github.com/marchaos/jest-mock-extended/commits)

---
updated-dependencies:
- dependency-name: jest-mock-extended
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-09 18:51:01 -04:00
Jari Kolehmainen b367aed7d2 Fork-ts-checker-webpack-plugin 5.2.1 (#3046) 2021-07-09 17:40:25 -04:00
dependabot[bot] d7db877079 Bump html-webpack-plugin from 4.3.0 to 4.5.2 (#3116)
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 4.3.0 to 4.5.2.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/v4.5.2/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v4.3.0...v4.5.2)

---
updated-dependencies:
- dependency-name: html-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>
2021-07-09 17:40:08 -04:00
dependabot[bot] b1f3046736 Bump xterm-addon-fit from 0.4.0 to 0.5.0 (#3112)
Bumps [xterm-addon-fit](https://github.com/xtermjs/xterm.js) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.4...0.5)

---
updated-dependencies:
- dependency-name: xterm-addon-fit
  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>
2021-07-09 17:39:43 -04:00
Jari Kolehmainen ad8dc8a7c9 New spinner for cluster connect status page (#3324)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-09 12:19:37 -04:00
Sebastian Malton 77f8ea67bd Cleanup sentry integration (#3315) 2021-07-08 16:57:29 -04:00
chh 05b1a2fc5d Add Sentry to capture exceptions and console.error messages, add a checkbox in preference to enable/disable error reporting (#3252) 2021-07-08 19:22:12 +03:00
Sebastian Malton 3b31dadf19 Fix listing charts failing due to bad versions (#3308) 2021-07-08 11:35:54 -04:00
Sebastian Malton db968b8a5b Fix user-store/5.0.3-beta.1.ts comment (#3311)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-08 16:13:29 +03:00
Sebastian Malton 497e47b277 Automatically sync all kubeConfigPaths (#3227) 2021-07-07 16:29:58 -04:00