1
0
mirror of https://github.com/lensapp/lens.git synced 2024-09-20 13:57:23 +03:00
Commit Graph

249 Commits

Author SHA1 Message Date
Roman
a3dc928430 Merge branch 'master' into extensions-api
# Conflicts:
#	package.json
#	src/common/cluster-store.ts
#	src/renderer/bootstrap.tsx
#	src/renderer/components/cluster-manager/clusters-menu.tsx
#	static/RELEASE_NOTES.md
#	webpack.dll.ts
2020-09-11 12:29:38 +03:00
Roman
7722f443eb
[FIX]: Cluster dashboard not rendered (#848)
* Cluster dashboard not rendered, fix #811

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

* refactoring

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

* actual fix

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

* reverted back reconnect check in cluster.activate()

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

* fix: cluster.activate() should not start reconnect on init (if not accessible)

Signed-off-by: Roman <ixrock@gmail.com>
2020-09-11 12:02:25 +03:00
Lauri Nevala
e005985621
Fix cluster's apiUrl (#846)
* Fix cluster's apiUrl

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-10 15:15:00 +03:00
Alex Andreev
fd3eb41179
Setting new workspace name restrictions (#832)
* Preventing to create empty and existent workspaces

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

* Autofocusing name input

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

* Save workspace when hitting Enter

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

* Refactoring of save workspace process

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-10 11:35:17 +03:00
Alex Andreev
e11cbc19fe
Fixing Dialog Escape keypress behavior (#831)
* Replacing dialog keypress target

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

* Adding explanatory comments

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-10 09:31:23 +03:00
Sebastian Malton
8d1f0efe80
remove make-syncronous and file-type calls from migration (#844)
* remove make-syncronous and file-type calls from migration

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

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-09-09 16:41:25 -04:00
Lauri Nevala
763b07b7fc
v3.6.0-rc.2 (#841)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-09 23:07:36 +03:00
Roman
5daf53e6cb
Extensions-api: initial hello-world example (#817)
Signed-off-by: Roman <ixrock@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-09 16:19:02 +03:00
Lauri Nevala
7294c11b38
Remove explicit yarn install call from make build task (#835)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-09 16:16:48 +03:00
Roman
f1b03990ea
Extensions loading (#795)
Signed-off-by: Roman <ixrock@gmail.com>

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-09 13:00:25 +03:00
Sebastian Malton
295333d055
add progress bar for webpack compilation (#794)
Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-09-08 08:44:34 -04:00
Alex Andreev
a4eff11ee2
Refresh input values on cluster change (#814)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-08 10:42:53 +03:00
Lauri Nevala
653683c802
Update logo (#819)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-08 10:29:20 +03:00
Alex Andreev
0de4e16c9f
More cluster menu fixes (#815)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-07 14:09:56 +03:00
Lauri Nevala
09079799a5
v3.6.0-rc.1 (#812)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-07 14:04:12 +03:00
Alex Andreev
06b4bfe363
Removing DEBUG env from package.json commands (#810)
* Removing DEBUG env from dev processes

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

* Removing cross-env dependency

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

* Updating lock file

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-07 12:10:35 +03:00
Lauri Nevala
4250523fe4
Allow user to configure kubectl binary preferences (#800)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-04 22:50:50 +03:00
Sebastian Malton
8f94f4a3da
add drag and drop capabilities for the order of cluster icons on the side bar (#623)
* add drag and drop capabilities for the order of cluster icons on the side bar

* add type annotations for better clarity

* fix clusters staying in previously icon reordered workspaces

* add some tests to cluster-store

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

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-09-04 13:32:27 -04:00
Jim Ehrismann
7d2215b5b4
Restrict file permissions to only the user for pasted kubeconfigs that are kept in the app dir (#805)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-09-04 20:28:51 +03:00
Alex Andreev
435baaea00
Close Preferences and Cluster Setting on Esc keypress (#804)
* Close Preferences on Esc key

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

* Close Cluster Settings on Esc

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-04 11:27:08 +03:00
Alex Andreev
7274658b51
Wider Select box for Helm chart installation (#803)
* Fixing typo

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

* Fine-tuning select to show long items

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-04 10:03:18 +03:00
Trevor Nichols
26e031fc58
Update CRD api to use preferred version and implement v1 differences (#718)
* Update CRD api to use preferred version and implement v1 differences

Signed-off-by: Trevor Nichols <trevor@nichols.id.au>

* Fix unit test failure

Signed-off-by: Trevor Nichols <trevor@nichols.id.au>

* Register alternate API base URL if preferred version changes.

Signed-off-by: Trevor Nichols <trevor@nichols.id.au>

* Adjust for validation moving to the version.schema

Signed-off-by: Trevor Nichols <trevor@nichols.id.au>
2020-09-04 09:39:31 +03:00
Trevor Nichols
38ba9cd383
Change order of init for fresh clone (#797)
Signed-off-by: Trevor Nichols <trevor@nichols.id.au>
2020-09-04 09:33:17 +03:00
Jari Kolehmainen
ca2307eb66
Remove double copyright (#802)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-09-04 07:29:20 +03:00
Ryan MacLean
006406c5e9
Some Grammatical Fixes ❤️ (#641)
Signed-off-by: Ryan MacLean <6923433+ryanmaclean@users.noreply.github.com>
2020-09-04 07:21:03 +03:00
Lauri Nevala
40e9a3bece
Download binaries before building the app (#799)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-03 14:40:38 +03:00
Alex Andreev
43f3044273
Using import type statement (#793)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-02 17:11:46 +03:00
Lauri Nevala
61c3e32a7c
Try to reconnect non-accessible clusters on activate (#789)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-02 15:28:02 +03:00
Lauri Nevala
b77249fbc8
Update help texts for Add cluster (#785)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-02 13:08:42 +03:00
Alex Andreev
5788c44303
Reload active dashboard view (#783)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-02 10:05:49 +03:00
Alex Andreev
5e2ef2f64f
Adding margin to last cluster icon (#788)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-02 09:48:28 +03:00
Lauri Nevala
5e016182e9
Do not set app to dev mode if debugging flag is passed (#774)
* Do not set app to dev mode if debugging flag is passed

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-02 09:45:55 +03:00
Lauri Nevala
4db06087b1
Bump versions of bundled binaries (#781)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-02 08:27:04 +03:00
Lauri Nevala
97b2916242
Update Kubectl version map (#780)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-02 08:09:30 +03:00
Lauri Nevala
9c37c69fb4
Allow to override logger for LensBinary (#776)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-02 08:08:40 +03:00
Lauri Nevala
993b601f74
Release v3.6.0-beta.2 (#782)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-02 07:47:07 +03:00
Sebastian Malton
8c0ee5dc37
upgrade eslint typescript parser (#773)
Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-09-01 09:27:39 -04:00
Sebastian Malton
cb3e19f2f0
Allow for users to enabled release mode debugging (#481)
* Allow for users to enabled release mode debugging by setting the env var `DEBUG` to "true"

* Adds file logging so that in production logs can still be
  obtained. Those log files are limited the size and number and are rotated automatically

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

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-09-01 09:20:59 -04:00
Lauri Nevala
533646cba5
Detect invalid bundled kubectl (#778)
* Test bundled kubectl

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-01 14:28:59 +03:00
Alex Andreev
f4d262b294
Fixing app crash when iterating Events without 'kind' prop defined (#743)
* Checking for 'kind' to be defined
Inside 'involvedObject' of Event

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

* Fixing resource var definition

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

* Reverting to link rendering in Events

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

* Explicitly return emty link if no 'kind' available

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

* Removing lowercase of url path

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-09-01 10:36:44 +03:00
Roman
505a5c7d9f
- fix: too narrow sidebar without clusters #755 (#765)
- fix: navigate to landing on workspace switch

Signed-off-by: Roman <ixrock@gmail.com>
2020-08-29 14:00:29 +03:00
Lauri Nevala
e17b87b2f0
Fix integration tests (#767)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-28 16:24:37 +03:00
Jim Ehrismann
ff91bed2bf
Change owner of minikube config files to $USER (#681)
For CI linux job minikube is started with kube and minikube config
in $HOME, but they are owned by root. This causes non-root
uses, like 'minikube status', to fail.

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-08-28 11:55:43 +03:00
Lauri Nevala
9e4155bab4
Release v3.6.0-beta.1 (#762)
* 3.6.0-beta.1

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-28 11:20:35 +03:00
Roman
b8994a453f
Allow user to select Kubeconfig from filesystem (#740)
* Allow user to select Kubeconfig from filesystem, fix #738

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

Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-08-28 08:43:51 +03:00
Lauri Nevala
0a1f952e13
Display path to cluster's kubeconfig file in cluster settings (#751)
* Display path to cluster's kubeconfig file in cluster settings

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-27 16:15:56 +03:00
Lauri Nevala
4196576e99
Remove cluster view when removed from store (#758)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-27 16:14:56 +03:00
Lauri Nevala
4b3570a190
Fix manifests order for Metrics feature (#752)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-27 14:14:34 +03:00
Lauri Nevala
ecbdb326e3
Use proxy kubeconfig for shell and resource applier (#754)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-27 14:11:32 +03:00
Lauri Nevala
659d8bd0ab
Wait until cluster is ready before initializing cluster dashboard (#748)
* Wait until cluster is ready before initializing cluster dashboard

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-27 08:43:17 +03:00