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

219 Commits

Author SHA1 Message Date
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
Alex Andreev
c31004e677
Fixing cluster icon badge overflow (#749)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-08-27 08:42:18 +03:00
Alex Andreev
510d3d4760
Thinner bottom bar (#747)
* Making bottom bar slightly thinner

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

* Moving workspace selector to left

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-08-26 11:32:15 +03:00
Alex Andreev
886fba136a
Fixing minor light theme issues (#744)
* Cluster Menu scrolling & tooltip fixes

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

* Removing forgotten console.log()

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

* Fix Landing Page in light theme

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

* Updating Chart on every componentDidUpdate

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-08-25 20:09:00 +03:00
Sebastian Malton
a12aa8a04f
add cluster icon migration code (#673)
Signed-off-by: Sebastian Malton <smalton@mirantis.com>
2020-08-25 16:42:30 +03:00
Lauri Nevala
b75cac4546
Fix windows dev env (#722)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

Co-authored-by: Trevor Nichols <trevor@ml.net.au>
2020-08-25 11:08:46 +03:00
Nox
8f778ea379
Add cronjob trigger (#694)
Signed-off-by: Nox <aurelien.gaston@krondor.fr>

Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-25 10:55:12 +03:00
Alex Andreev
0f11b03692
Switching color theme globally (#728)
* Adding cluster menu colors

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

* Adding theme class name flag into #app

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

* Cleaning up mixins

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

* Tuning up Wizard Layout styles

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

* Using theme-light global flag

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

* Minor style fixes

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

* Using .theme-light flag across components

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

* Set theme as @computed value

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

* Preventing Drawer slide-in scroll flickering

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

* Setting background for settings views

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

* Minor layout fixes

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

* Switching AceEditor theme reactively

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

* Cleaning up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-08-24 10:24:05 +03:00
Alex Andreev
c7b11f86af
Adding basic menu accelerators (#729)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-08-24 09:43:14 +03:00
Tim Urista
4a8d1ab205
Set max timeout to 15 seconds to prevent failed opening of local port (#732)
Signed-off-by: Tim Urista <timothy.urista@gmail.com>
2020-08-24 09:27:30 +03:00
Roman
6e645eade0
Random fixes (#727)
* extract missing localizations from last master <- pr-merge

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

* fix: prevent app-crash in preferences in case of incorrect http-proxy value

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

* fix: don't repeat ipc-sync message to main renderer process/window when sending to frames

Signed-off-by: Roman <ixrock@gmail.com>
2020-08-21 15:08:09 +03:00
Dan Slinky @ Cookpad
81a0c432c6
Add support for PodDisruptionBudgets (#452)
Signed-off-by: Dan Slinky <dan-slinky@cookpad.jp>
2020-08-21 11:39:02 +03:00
Roman
5163ede4f1
package.json: upgrade typescript to 4.x (#725)
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-20 21:01:33 +03:00
Roman
b6a6dadfce
Fix: sync in sub-frames for common-stores are broken (#724)
* fix: sync in sub-frames for common-stores are broken

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

* clean up

Signed-off-by: Roman <ixrock@gmail.com>
2020-08-20 20:33:06 +03:00
Roman
86e1e23ccd
fix: incorrect path to install/re-install features (#723)
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-20 18:27:20 +03:00
Gerasimos (Makis) Maropoulos
1cf446ea98
Fix misspell (#662)
Signed-off-by: Gerasimos (Makis) Maropoulos <kataras2006@hotmail.com>
2020-08-20 10:21:54 +03:00
Lauri Nevala
ad0f18e6ca
Update release notes from 3.5 branch (#721)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-20 10:04:39 +03:00
Lauri Nevala
f958e1c760
Return KubeObject for successfully created unknown resources (#617)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-20 10:04:12 +03:00
Roman
5670312c47
Migrating Vue components to React and stores refactoring (#585)
Signed-off-by: Roman <ixrock@gmail.com>

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-08-20 08:53:07 +03:00
Trevor Nichols
905bbe9d3f
Handle status values that contains an object (#693)
Signed-off-by: Trevor Nichols <trevor@theredfox.group>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-08-19 17:49:17 +03:00
Jim Ehrismann
0a5626fdb7
Added load-balancer hostname/IP to ingress details (#675)
* Added load-balancer hostname/IP to ingress details

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* lint fixes

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-08-14 11:04:39 -04:00
Jari Kolehmainen
81796af508
Update copyright, eula and contact details (#690)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-08-14 16:05:57 +03:00
Alex Andreev
30c14eb6da
Fixing role binding details view without subjects (#688)
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
2020-08-14 14:39:28 +03:00
Sebastian Malton
e249769562
Add support for customreasourcedefinitions under the v1 API (#658)
* Add support for customreasourcedefinitions under the v1 API
* moving store and views to use v1

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

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-08-12 09:08:40 -04:00
Daniil Kolesnik
acfd1828eb
fix: 🐛 Change kind to "Enpoints" in renderer (#672)
 Closes: #646

Signed-off-by: Daniil Kolesnik <not.randome@gmail.com>
2020-08-12 09:14:37 +03:00
Sebastian Malton
858ab88940
use the Kubernetes regex for matching system names (#659)
* use the Kubernetes regex for matching system names

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

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-08-07 16:24:47 -04:00
Jim Ehrismann
693017d2ec
adding port-forward for containers in pods (#528)
* adding port-forward for containers in pods

address review comments

use more idiomatic approach for async code

move some files in advance of merge conflict with Lens restructure work

* Separate the port forward links in the UI (so they don't all spin when one link is clicked)

* minor fixes

* addressed review comments (replaced <p> with <div>, moved key attribute to proper element)

* fix lint issue

* removed extraneous <div> from pod container port details

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-08-07 11:30:37 -04:00
Sebastian Malton
0c3be9bbae
Fix Resource Quota Rendering (#624)
* add parsing of quota values which are non-numeric in the general case

* add unit tests

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

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-08-04 13:14:02 -04:00
Lauri Nevala
7f65f1ea06
Fix CRD api parsing (#622)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-07-31 09:50:57 -04:00
Sebastian Malton
4bd29a6d88
fix format duration rounding days error (#582)
* fix format duration rounding days error
* added tests

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

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-07-15 09:45:52 -04:00
Jussi Nummelin
55687b7d35
Kubeconfigs as file references (#466)
Signed-off-by: Jussi Nummelin <jussi.nummelin@gmail.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-07-03 16:53:23 +03:00