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

4099 Commits

Author SHA1 Message Date
Lauri Nevala
56422983ee
Add pod creation integration test (#449) 2020-06-17 14:20:37 +03:00
Sebastian Malton
1752b8d3d9
Handle invalid metric response properly (#464)
* catch undefined and return default empty in normalizeMetrics

* fix crash on drilldown

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-16 13:47:01 -04:00
Sebastian Malton
b9ddb503ee
make sure that secret is defined before trying to decode (#479)
Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-16 13:46:02 -04:00
Jim Ehrismann
d48b463ea7
Merge pull request #453 from jim-docker/issue-393-job-remove-pods-too
Remove related pods when removing Job resource
2020-06-16 11:18:54 -04:00
Sebastian Malton
bce7aec87d
Fix parseAPI not working with non-"namespaces" pathnames. (#450)
* fix parseApi not accepting versions that don't start with 'v'
* add unit tests

Signed-off-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-16 10:51:39 -04:00
Lauri Nevala
0661954a27
Display namespace defined in kubeconfig always in the namespace selector (#472)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-16 17:46:37 +03:00
Jari Kolehmainen
a608918dce
Add downloads & slack badges (#474)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-16 16:27:28 +03:00
Jari Kolehmainen
bc91df6192
Release v3.5.0 (#463)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-15 20:33:01 +03:00
Jari Kolehmainen
47082adecd
Fix shell env cache (#461)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-15 14:02:44 +03:00
Jim Ehrismann
7479f4eb7d override KubeObject's delete() method in Job class
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-06-12 15:23:19 -04:00
Sebastian Malton
8f0c785f58
Revert "Fix parseApi not accepting versions that don't start with 'v' (#441)" (#448)
This reverts commit 00557c9940.
2020-06-12 07:34:07 +03:00
Sebastian Malton
00557c9940
Fix parseApi not accepting versions that don't start with 'v' (#441)
* fix parseApi not accepting versions that don't start with 'v'

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-11 13:19:01 -04:00
Jari Kolehmainen
5c5454166f
Release v3.5.0-rc.1 (#446)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-11 16:59:21 +03:00
Lauri Nevala
1fbca3fcd3
Fix resource lists auto-refresh (#447)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-11 16:22:09 +03:00
Jari Kolehmainen
8e514df70e
Track telemetry pref changed event (#445)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-11 13:50:43 +03:00
Lauri Nevala
0888ad8c5d
Enable win integration tests (#424)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-11 10:56:43 +03:00
Jari Kolehmainen
5106a4eec1
Fix icon.ico (#440)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-11 07:34:26 +03:00
Lauri Nevala
879186999f
Improve Helm release version detection (#422)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-10 17:07:56 +03:00
Lauri Nevala
78eeef2805
Close proxy server on app quit (#413)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-10 17:00:17 +03:00
Jari Kolehmainen
e8fcff0037
New logo (#423)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-10 12:40:04 +03:00
dependabot[bot]
a36a279bce
Bump websocket-extensions from 0.1.3 to 0.1.4 (#409)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-09 14:35:03 +03:00
dependabot[bot]
f9e669bc45
Bump websocket-extensions from 0.1.3 to 0.1.4 in /dashboard (#408)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-09 14:34:29 +03:00
Lauri Nevala
247677b740
Remove Helm release update checker (#420)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-09 14:33:46 +03:00
Jari Kolehmainen
deb4bf2f7b
Integration tests using spectron (#410)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-09 13:18:24 +03:00
Lauri Nevala
af24da976b
Kill shell process by pid on Windows (#411)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-09 13:16:39 +03:00
Jari Kolehmainen
5af12bdbbd
Add download-bins target to make (#406)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-05 22:47:30 +03:00
Jari Kolehmainen
ffb521071f
Release v3.5.0-beta.1 (#403)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-05 09:51:41 +03:00
Jari Kolehmainen
ac03982c80
Change community slack urls (#405)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-05 09:11:35 +03:00
Jon Stelly
9b680640c9
Add arch node selector for hybrid clusters (#400)
Signed-off-by: Jon Stelly <967068+jonstelly@users.noreply.github.com>
2020-06-05 08:41:08 +03:00
Jari Kolehmainen
a7cb8d2d04
Dynamic dashboard UI based on RBAC rules (#366)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-05 08:38:56 +03:00
Lauri Nevala
65900e728d
Show object reference for all objects (#399)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-04 14:46:43 +03:00
Lauri Nevala
00defdd631
Fix pod shell command on Windows (#402)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-04 14:45:54 +03:00
dave93cab
0248189c45
typo/translation correction: transit to transmit (#359)
Signed-off-by: Dave Thomas <davejonthomas@gmail.com>
2020-06-04 12:44:08 +03:00
Lauri Nevala
e25be40dd8
Fix @babel/preset-env version (#401)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-04 12:03:44 +03:00
Jari Kolehmainen
50dfd4fa63
Unify scrollbars/paddings across supported OS (#367)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-01 15:42:34 +03:00
Jari Kolehmainen
ac32a3686e
Remove Kontena reference from Lens logo (#357)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-12 20:36:58 +03:00
Adam Malcontenti-Wilson
e21e0b577b
Replace admin check with check for access (#297)
Signed-off-by: Adam Malcontenti-Wilson <adman.com@gmail.com>
2020-05-09 18:25:34 +03:00
Jari Kolehmainen
fb287c435c
Release v3.4.0 (#356)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-09 10:21:36 +03:00
Lauri Nevala
1c324a3ced
Show system roles on Roles page (#355)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-05-09 09:06:16 +03:00
Jari Kolehmainen
5cd00bd77a
Prometheus provider/path related ui fixes (#354)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-09 09:04:38 +03:00
Dan Slinky @ Cookpad
2c3dc8370d
Provide link to configMap from pod details (#352)
Signed-off-by: Dan Slinky <dan-slinky@cookpad.jp>
2020-05-08 16:49:04 +03:00
Jari Kolehmainen
2a4704716d
Release v3.4.0-rc.1 (#347)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-06 21:01:24 +03:00
Lauri Nevala
bba6eb743d
Add support for Prometheus api prefix (#341)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-05-06 20:37:32 +03:00
Jari Kolehmainen
5c1974f07b
Auto-detect prometheus installation (#343)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-06 18:55:49 +03:00
Alexis Deruelle
6412d73a5a
Fix port availability test (#333)
* Let OS allocate port number

Port availability might be tricky if some port is already in use on the
'all' interface '0.0.0.0'.

The proposed solution is to let the OS allocate the port for us using 0
as port specifier :

- first create a server instance to allocate a port number
- save port number
- close the server
- return the port number to the caller

This should be safe granted the OS doesn't reuse the port numbers on
consecutive port allocations.

see :
- about Node.js Net module : https://nodejs.org/docs/latest-v12.x/api/net.html#net_server_listen_port_host_backlog_callback
- about safety around reusing port number : https://unix.stackexchange.com/a/132524

Signed-off-by: Alexis Deruelle <alexis.deruelle@gmail.com>
2020-05-05 07:31:58 +03:00
Lauri Nevala
0a3b5dae73
Fix EndpointSubset.toString() to work without ports (#336)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-05-05 07:31:08 +03:00
Lauri Nevala
dd8dc23514
Return empty string if Helm release version is not detected (#342)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-05-05 07:28:54 +03:00
Jari Kolehmainen
8d2e8bbe62
Delay webview create on cluster page (#332)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-03 10:29:32 +03:00
Jari Kolehmainen
03aab714d8
Fix no-drag css (#331)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-01 10:39:53 +03:00
Lauri Nevala
724cf0c687
Allow to select Prometheus query style (#312)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-05-01 09:37:05 +03:00