Sebastian Malton
770c6b80f1
move autobind and debouncePromise to common/utils ( #1081 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-10-14 14:36:19 +03:00
Jari Kolehmainen
78f6f8ef54
Fix bundled kubectl path on dev env ( #981 )
...
* fix bundled kubectl path on dev env
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix specs
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-10-14 14:35:33 +03:00
steve richards and Steve Richards
db9af88d91
Updated regex for isUrl to allow for an empty string ( #1049 )
...
Updated regex for isUrl to allow for an empty string aswell as a correct URL.
Signed-off-by: Steve Richards <srichards@mirantis.com >
Co-authored-by: Steve Richards <srichards@mirantis.com >
2020-10-14 14:34:04 +03:00
Lauri Nevala
38796e582b
Fix integration test teardown ( #1082 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-10-14 14:26:09 +03:00
Lauri Nevala
3a6b499fe3
Merge branch 'extensions-api' of github.com:lensapp/lens into extensions-api
2020-10-14 09:15:46 +03:00
Jari Kolehmainen and Lauri Nevala
45abc740e9
Initial telemetry extension ( #1067 )
...
* initial telemetry extension
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* Fix preferences saving and default value
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-10-13 12:57:38 +03:00
Alex Andreev
83b8fa9d98
Ability to show previous terminated container logs ( #1074 )
...
* Show previous terminated container logs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix for parsing error object
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-12 15:58:18 +03:00
steve richards and Steve Richards
4fcac6b0d0
Added additional checks on the command used in the Exec plugin in a kubeconfig ( #1013 )
...
- Added check to see if the program being referenced in the command field of the
exec object in the User construct exists. If it doesn't an error will be raised.
If more than 1 context is selected when adding a kubeconfig then valid contexts
will be added and any with an error will not be.
Signed-off-by: Steve Richards <srichards@mirantis.com >
Co-authored-by: Steve Richards <srichards@mirantis.com >
2020-10-12 10:20:08 +03:00
Lauri Nevala
daa4992f2b
Start authentication proxy when opening cluster settings ( #1063 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-10-12 10:10:30 +03:00
Alex Andreev
dc07d646ec
Align NamespaceSelect and SearchField ( #1073 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-12 10:08:57 +03:00
Alex Andreev
f4f0cba6ca
Moving Pod logs into Dock panel ( #1043 )
...
* Moving pod logs into Dock
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Always set up default container
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Open existent tab if fount
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving logs load and properties into store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Setting a refresher
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding showButtons prop to InfoPanel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Hiding sequence number in log tabs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing PodLogsDialog
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused PodLogsDialog import
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Tiny cleaning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* A bit of cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Hiding drawer when opening logs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-11 19:36:19 +03:00
Sebastian Malton
0960259279
Add some basic unit tests for the following files: ( #1050 )
...
* Add some basic unit tests for cluster, kube-auth-proxy, and kubeconfig-manager
- src/main/cluster.ts
- src/main/kube-auth-proxy.ts
- src/main/kubeconfig-manager.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-10-09 11:25:20 -04:00
Jari Kolehmainen
4f98a01a8b
Improve how extension-api is exposed/loaded ( #1055 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-10-09 14:12:40 +03:00
Jari Kolehmainen
aa864fc199
Support extensions in main process ( #1032 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-10-08 11:52:45 +03:00
Lauri Nevala
abe6a4e0b1
Fix cluster dashboard opening when cluster is initally offline ( #1042 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-10-07 15:27:48 +03:00
Lauri Nevala
44ce51613b
Release v3.6.6 ( #1033 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-10-07 10:17:31 +03:00
Sebastian Malton
21bdc6ba8f
add resizing capabilities to the side bar ( #1009 )
...
* add resizing capabilities to the side bar
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-10-06 13:33:23 -04:00
Lauri Nevala
0f57ea91b1
Merge branch 'master' into extensions-api
2020-10-06 14:52:27 +03:00
Roman
c78b071da3
TabLayout should not be part of LensRuntimeRendererEnv ( #1029 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-10-06 14:38:28 +03:00
Jari Kolehmainen
2b6f283e1b
Allow extensions to have external dependencies ( #1018 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-10-05 16:39:58 +03:00
Sebastian Malton and Sebastian Malton
87061cee9e
Refactor testing harness to use defaults ( #808 )
...
* Refactor testing harness to use defaults
- Move tests into defaultly named test folders
- Use default test suffix of ".test" instead of "_test"
- Make cluster-store tests unit tests by adding more
nesting, so that order of tests doesn't matter
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Co-authored-by: Sebastian Malton <smalton@mirantis.com >
2020-10-02 10:05:59 -04:00
Alex Andreev
14d3d88278
Fix: check for location bevore navigate ( #1016 )
...
* Check for location before navigate
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Handling every location type
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-02 14:33:29 +03:00
Alex Andreev
68317453c1
Adding space after drawer badges ( #1014 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-02 12:49:03 +03:00
Alex Andreev
af71834676
Moving dock info panel to the top ( #1007 )
...
* Moving EditorPanel to the top
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Preventing save with empty yaml
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make tooltips in @withTooltip narrower
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Not showing api errors in icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Success notification for create resource operation
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Button outlined style
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Making second button to stay outlined
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fine-tuning dock info panel colors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing border-radius from ace-editor
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-02 09:32:20 +03:00
Sebastian Malton
9ecfeb316c
cleanup Draggable into ResizingAnchor ( #989 )
...
* Rename `Draggable` as `ResizingAnchor` since that is what it is used for and shouldn't be mistaken as a general draggable item
* Refactor `ResizingAnchor` to be much more smart about how it handles mouse movements. Allow it to know which direction the resizing should be in allowing it to produce exact resized values.
* Add event handlers for the min and max extents so that actions can be triggered when those extents are passed (in either direction)
* Add double click support
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-10-01 11:37:27 -04:00
Lauri Nevala
135282da91
Fix cluster dashboard opening and state refreshing ( #1006 )
...
* Fix cluster dashboard opening and state refreshing
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-10-01 11:16:20 +03:00
Lauri Nevala
f9b5ba6980
Release v3.6.5 ( #1004 )
...
* Release v3.6.5
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-09-30 21:54:12 +03:00
Jari Kolehmainen
de3849d22c
Merge branch 'master' into extensions-api
2020-09-30 19:47:13 +03:00
Alex Andreev
3d0b843891
Preventing drawer close on secret's click ( #1003 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-09-30 16:54:21 +03:00
Jakub Štiller and Jakub Štiller
f596b3c45c
Fix CPU/Memory usage metrics when using prometheus operator. ( #632 )
...
Cluster CPU and Memory usage cannot be sum by node as it is rendered as single cluster metrics. Without this changes, the cluster graphs (standard and pie) shows data only from first (or latest) nodes.
For pod specific metrics, when we use prometheus operator the `container_` metics are doubled. Restric search to get those have image tag.
Signed-off-by: Jakub Štiller <stiller@2n.cz >
Co-authored-by: Jakub Štiller <stiller@2n.cz >
2020-09-30 14:56:22 +03:00
Jari Kolehmainen and Lauri Nevala
8823c6f5f2
Terminal: set NO_PROXY env for localhost communication ( #982 )
...
* terminal: set NO_PROXY env for localhost communication
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-09-30 14:08:42 +03:00
Lauri Nevala
c049918d25
Add support for Docker Enterprise Container Cloud metrics ( #998 )
...
* Add support for Docker Enterprise Container Cloud metrics
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-09-30 14:02:18 +03:00
Jari Kolehmainen
62afdc7415
Cleanup production build ( #1002 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-09-30 11:34:35 +03:00
Jari Kolehmainen
a92a6ed0b0
Expose react to extensions ( #1000 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-09-30 11:34:14 +03:00
Jari Kolehmainen
bec288d22e
fix extension-api module alias on production ( #1001 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-09-30 11:33:49 +03:00
Sebastian Malton
c542ad0348
refactor overview statuses to be more DRY ( #912 )
...
* refactor overview statuses to be more DRY
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-09-29 11:25:29 -04:00
Jari Kolehmainen
82c4177cb9
Move in-tree extensions to top-level folder ( #993 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-09-29 16:45:42 +03:00
Alex Andreev
459742556b
Fix CRD conditions rendering ( #994 )
...
* Using reason field if no type provided
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Lowecasing condition badge class
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-09-29 10:58:16 +03:00
Roman
5ec6751ab4
Extensions api types ( #985 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-09-29 07:37:25 +03:00
Sebastian Malton
34e141e517
make namespace filter multi select and change onChange ( #987 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-09-28 10:30:23 -04:00
Yangjun Wang and Yangjun Wang
bc228c9e36
display last-applied-configuration annotation in detail-view, but filter it in search fields still ( #943 )
...
Signed-off-by: Yangjun Wang <yangjun.wang@wartsila.com >
Co-authored-by: Yangjun Wang <yangjun.wang@wartsila.com >
2020-09-28 17:24:54 +03:00
Jim Ehrismann
6b231c97aa
adding more integration tests ( #890 )
...
* adding more integration tests
reorganized tests, added ability to skip cluster tests if minikube is not ready
introduced INTEGRATION_TESTS namespace for sandboxing the cluster tests
added cluster page tests
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2020-09-28 08:40:55 -04:00
Alex Andreev
163b34463b
Removing pre-defined input type ( #984 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-09-28 14:59:35 +03:00
Lauri Nevala
9702c645b4
Release v3.6.5-rc.1 ( #974 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-09-28 09:19:01 +03:00
Lauri Nevala
13b99afa21
Add migration to fix kubeconfig paths that point to snap config dir ( #972 )
...
* Add migration to fix kubeconfig paths that point to snap config dir
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-09-25 15:13:20 +03:00
Lauri Nevala
950fd6528f
Fix kubeconfig fetching for service account ( #966 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-09-25 15:04:48 +03:00
Jari Kolehmainen
1168abfa32
Helm 3.3.4 ( #964 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-09-25 13:08:06 +03:00
Lauri Nevala
265aa41968
Fix reading CRD conditions ( #967 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-09-25 12:59:12 +03:00
Lauri Nevala
d0f1d7b74b
Do not filter contexts when adding new clusters ( #969 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-09-25 12:58:38 +03:00
Jari Kolehmainen
51b21347da
cleanup proxy upgrade handler ( #963 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-09-24 18:14:57 +03:00