Commit Graph
1331 Commits
Author SHA1 Message Date
Sebastian Malton a71a6dcaff Always override PATH when syncing from shell (#4132) 2021-11-12 08:50:57 -05:00
Sebastian Malton 3522485c6f Improve cluster connection visibility (#4266) 2021-11-12 08:49:21 -05:00
Jari Kolehmainen 23d5d40d62 Implement KubeApi.patch (#4325)
* implement KubeApi.patch

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* cleanup tests

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* keep it backward compatible

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-12 11:15:33 +02:00
Jari Kolehmainen a86b306a48 add possibility to pass non-generic KubeApi to forRemoteCluster (#4321)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-12 09:07:57 +02:00
Sebastian Malton de4c7e4cff Fix race condition in refreshViews (#4094) 2021-11-10 12:07:55 -05:00
Roman 38ebbc8b9e Fix: Catalog's visibility columns menu -> Empty title for Icon (#4189)
* fix: Catalog -> Columns visibility menu -> Empty title for "Icon"

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

* moving entity-icon inside name column / fixes

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

* fix lint

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

* added vertical alignment for texts in the name column

Signed-off-by: Roman <ixrock@gmail.com>
2021-11-10 14:28:21 +02:00
Jari Kolehmainen 8846b5c96f handle aborted responses in lens proxy (#4308)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-10 13:47:36 +02:00
Sebastian Malton c37a8aee0a Correctly catch and notify user about NodeShell pod failures (#4244)
* Correctly catch and notify user about NodeShell pod failures

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

* Fix error throwing sometimes during Terminal.detach

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-09 22:52:46 -05:00
Sebastian Malton 1ce2e727af Fix crash in IngressDetails (#4267)
* Fix crash in IngressDetails

- Adds check in Ingress.getServiceNamePort() for a
  .spec.defaultBackend.resource instead of .spec.defaultBackend.service

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

* remove undefined

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

* Add comment about RequireExactlyOne

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-09 22:52:36 -05:00
Sebastian Malton 81b972a2d0 Make ws:// authentication more timing safe (#4297) 2021-11-09 14:24:32 -05:00
Sebastian Malton 18d695348b Change base64 functions to be exported not as object children (#4298) 2021-11-09 13:43:45 -05:00
Sebastian Malton e5bf5920fc Keep shell processes alive between network offline periods (#4258) 2021-11-09 12:30:55 -05:00
Sebastian Malton 200061d386 Use .status.phase instead of computing it for Pod.getStatusMessage (#4286) 2021-11-09 09:33:42 -05:00
Alex Andreev b52bd29784 Cluster sidebar dropdown (#4292)
* Making cluster area hoverable

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

* Move sidebar cluster block to separate component

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

* Clean up

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

* Add keyboard support

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

* Adding tests

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

* Cleaning up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-09 13:41:46 +03:00
Sebastian Malton 5eb1b8553d Support window nodes for node-shells (#3624)
* Support window nodes for node-shells

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

* Also check beta.kubernetes/os label

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

* Add comment about linux fallback

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-08 20:11:40 -05:00
Sebastian Malton c09a57370e Block shell websocket connections from non-lens renderers (#4285)
* Block shell websocket connections from non-lens renderers

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

* Add IPC based authentication tokens

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

* Fix race condition on tab start

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-08 19:02:10 -05:00
Sebastian Malton a399b8ee20 Fix crash on HorizontalPodAutoscalers view (#4276) 2021-11-08 10:12:26 -05:00
Sebastian Malton 3666c56319 Display loading spinner while switching between helm charts (#4269) 2021-11-08 10:12:17 -05:00
Jim Ehrismann 2e54587086 Merge pull request #4274 from lensapp/port-forward-stderr-debug
log kubectl port-forward stderr output as debug
2021-11-05 16:42:13 -04:00
Jim Ehrismann ebaa934bb9 Merge pull request #4270 from lensapp/feature/port-forward-notification
'About Port Forwarding' notification
2021-11-05 15:58:18 -04:00
Jim Ehrismann e99f2f0502 log kubectl port-forward stderr output as debug
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-05 15:21:08 -04:00
Jim Ehrismann 56f3ba8d83 remove unnecessary async specification
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-05 15:00:03 -04:00
Jim Ehrismann 57b7027031 cleaned up logging from port-forward-store
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-05 13:17:31 -04:00
Jim Ehrismann f3c3453308 address review comment
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-05 13:13:12 -04:00
Jim Ehrismann 3302bc69c7 added an 'About Port Forwarding' notification
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-05 11:08:50 -04:00
Sebastian Malton 7e82b7632a Fix not being able to sync kube config files on linux (#4253) 2021-11-04 14:12:49 -04:00
Sebastian Malton 43845ed145 Fix auto update not working for AppImage (#4256) 2021-11-04 12:11:08 -04:00
Sebastian Malton 526b7c46be Fix impl of 'Fix metrics configuration via catalog' (#4255) 2021-11-04 10:55:23 -04:00
Jan Jansen 0e1df10488 Fix metrics configuration via catalog (#4252) 2021-11-04 09:33:52 -04:00
Sebastian Malton a93108c103 Fix auto-update on macOS not working (#4248) 2021-11-03 16:29:50 -04:00
Sebastian Malton 28e182a2a3 Properly propagate promises in Kubectl.ensureKubectl to avoid UnhandledPromiseRejections (#4243) 2021-11-03 12:28:12 -04:00
Roman 368e2d9a00 Monaco editor refactoring (#4225)
* monaco editor refactoring

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

* clean up / responding to comments

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

* move custom monaco themes to own folder

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

* fix lint

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

* removed unused rules from webpack's config (renderer)

Signed-off-by: Roman <ixrock@gmail.com>
2021-11-03 17:19:17 +02:00
Sebastian Malton 79c4132df9 Reduce selection on triple click in Drawers (#4201) 2021-11-03 10:10:07 -04:00
Lauri Nevala 205cce43c7 Display namespace for subject on ClusterRoleBinding details (#4242) 2021-11-03 10:09:53 -04:00
Sebastian Malton df297613ca Fix trying to download kubectl from [object Object] (#4215)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-03 07:44:28 -04:00
Juho Heikka 9f14b4c534 Fix catalog button border-radius when modal is shown (#4236)
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2021-11-03 13:09:38 +02:00
Juho Heikka f820f3df53 Fix lint error (#4238)
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2021-11-03 12:31:59 +02:00
Sebastian Malton c6dce043a7 Lint: comma-spacing (error) & comma-dangle (error) (#4200)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-02 17:38:20 -04:00
chh b06c33383b Prevent injection of expired "DST Root CA X3" from host CA stores; Electron to 13.6 (#4185) 2021-11-02 18:16:10 +02:00
Sebastian Malton 7ba359be03 Only offer app version downgrade if updateChannel differs from current version (#4212) 2021-11-02 12:07:50 -04:00
Alex Andreev dec043f3f2 Catalog Browse page Add Button with menu (#4223)
* Adding MenuItems to catalog browse add button

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

* Convert menuItems from Array to Map

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

* Clean up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-02 18:46:18 +03:00
Sebastian Malton d8538eaa75 Use user configured kubectl path in node and pod menu items (#3506) 2021-11-02 09:29:45 -04:00
Panu Horsmalahti 6b047332c0 Reduce JSON-API logging. (#4221)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-11-02 13:31:10 +02:00
Sebastian Malton 41863e87ce Lint: object-curly-spacing (error) (#4198) 2021-11-01 08:45:45 -04:00
Sebastian Malton 0759b80435 Lint: space-before-function-paren (error) (#4199) 2021-11-01 08:37:49 -04:00
Sebastian Malton e74f17e8ce Lint: no-unused-expressions (error) (#4197) 2021-11-01 08:37:37 -04:00
Sebastian Malton c6dab62e99 Lint: no-template-curly-in-string (error) (#4196) 2021-11-01 08:37:29 -04:00
Sebastian Malton 4d63ef2878 Use spec.serviceName as an externalIP if nothing else (#4188)
* Use spec.serviceName as an externalIP if nothing else

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

* Move using externalName to display logic

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-01 07:23:29 -04:00
Alex Andreev c7e38052fc Fix <a href...> visibility (#4208)
* Removing tailwind base and components styles

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

* Fix link coloring in few places

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-01 12:36:55 +03:00
Patrick J. McNerthney 6294343b79 Fix the broken ingress metrics, the namespace is needed in the opts. (#4203)
Signed-off-by: Patrick J McNerthney <pat@mcnerthney.com>
2021-11-01 11:21:13 +03:00