Giter VIP home page Giter VIP logo

lens-extensions's People

Contributors

alongir avatar amirmalka avatar andrea-falco avatar artturik avatar bsctl avatar elenalape avatar ericksondelacruz avatar jakolehm avatar jaz-013 avatar jdinsel-xealth avatar jim-docker avatar jkroepke avatar kocyigitkim avatar leenamba avatar miskun avatar mmoriani avatar msa0311 avatar nevalla avatar nokel81 avatar pashevskii avatar stefcameron avatar xdavidel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lens-extensions's Issues

Unable to use Clipboard Functionality inside iframe

I didn't find a way to use the navigator.clipboard functionality to create a copy button through a callback like:

const copy = async () => { return await navigator.clipboard.writeText(generateCommand); };

This because of Lens extensions are rendered inside an iframe, and, for a Cross-Origin security policies, this functionality is forbidden. It's a big problem that can be solved adding some "info" to the iframe declaration:

<iframe .... allow="clipboard-write"></iframe>

The console error actually received is:
Uncaught (in promise) DOMException: The Clipboard API has been blocked because of a permissions policy applied to the current document. See https://goo.gl/EuHzyv for more details.

Is it possible to find a solution like the proposed one or something something else suggested by you?
For the extension that i'm developing will be an important and critical feature.

thanks in advance

Unable to add kubescape extension in Openlens

I am using Openlens of below version
image
and tried installing kubescpe extension for 0.2.4 and also tried with 0.2.2.

i tried changeing my openlens version as well, nothing is helping. its gets stuck in clusterscan
kubescape

Please suggest working combination or else let me know other packages required to kubescape in openlens.
openlens

Extension list is misleading. Lens 5 is out now and most are not compatible

From the landing page it show a growing list of Lens extensions, which is great. However with the release of Lens 5, and this being the default download, most of these extensions are not compatible with Lens 5 so it's quite misleading to share this when in reality these will not work.

The list and extensions needs to be listed in a grouping. Those that are Lens 4 compatible and those that are Lens 5 compatible.

Thx.

502's when connecting to an Azure Kubernetes Service with RBAC enabled

Hello, I am wondering how I would get Lens v4.0.8 to connect to an Azure Kubernetes Service, AKS, with RBAC enabled. I attempted to connect after following the login process as defined by the Azure Portal.

az account set --subscription="<subscription id>"
az aks get-credentials --resource-group="<resource group name>" --name="<cluster name>"

Then I "login" using a machine token when I attempt to connect with kubectl

kubectl get pods
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code [device code] to authenticate.

This kicks out to your default web browser, perform the authentication and you're in. However after doing that, I still receive 502's.

image

╭─filbot@oryx-pop ~/Downloads  
╰─➤  ./Lens-4.0.8.AppImage
info: 🚀 Starting Lens from "/home/filbot/.config/Lens"
info: Checking for update
info: [STORE]: LOADED from /home/filbot/.config/Lens/config.json
info: [STORE]: LOADED from /home/filbot/.config/Lens/lens-cluster-store.json
info: [STORE]: LOADED from /home/filbot/.config/Lens/lens-workspace-store.json
info: [STORE]: LOADED from /home/filbot/.config/Lens/lens-extensions.json
info: [STORE]: LOADED from /home/filbot/.config/Lens/lens-filesystem-provisioner-store.json
info: [CLUSTER-MANAGER]: init cluster {"id":"e2dca6dd-7096-4ac4-8f9e-62ddda1ebe8e","name":"coder-poc","initialized":false,"ready":false,"online":false,"accessible":false,"disconnected":true}
info: [CLUSTER-MANAGER]: init cluster {"id":"70b997fe-52e1-467e-addf-0038cd2c6a4a","name":"aksclustername","initialized":false,"ready":false,"online":false,"accessible":false,"disconnected":true}
info: LensProxy server has started at http://localhost:41143
info: [EXTENSION-DISCOVERY] loading extensions from /home/filbot/.config/Lens
info: [CLUSTER]: "coder-poc" init success {"id":"e2dca6dd-7096-4ac4-8f9e-62ddda1ebe8e","context":"coder-poc","apiUrl":"https://dudleyp-bc64dccd.hcp.centralus.azmk8s.io:443"}
info: [CLUSTER]: "aksclustername" init success {"id":"70b997fe-52e1-467e-addf-0038cd2c6a4a","context":"aksclustername","apiUrl":"https://akscsuat-b426efbf.hcp.centralus.azmk8s.io:443"}
info: [EXTENSION-INSTALLER] installing dependencies at /home/filbot/.config/Lens
info: Update for version 4.0.8 is not available (latest version: 4.0.8, downgrade is disallowed).
info: [EXTENSION-INSTALLER] dependencies installed at /home/filbot/.config/Lens
info: [EXTENSION-DISCOVERY] watching extension add/remove in /home/filbot/.k8slens/extensions
info: [EXTENSION]: enabled [email protected]
telemetry main extension activated
info: [STORE]: LOADED from /home/filbot/.config/Lens/extension-store/lens-telemetry/preferences-store.json
info: [EXTENSION]: enabled [email protected]
info: [CLUSTER]: activate {"id":"70b997fe-52e1-467e-addf-0038cd2c6a4a","name":"aksclustername","initialized":true,"ready":false,"online":false,"accessible":false,"disconnected":true}
info: [CLUSTER]: bind events {"id":"70b997fe-52e1-467e-addf-0038cd2c6a4a","name":"aksclustername","initialized":true,"ready":false,"online":false,"accessible":false,"disconnected":true}
info: [CLUSTER]: reconnect {"id":"70b997fe-52e1-467e-addf-0038cd2c6a4a","name":"aksclustername","initialized":true,"ready":false,"online":false,"accessible":false,"disconnected":true}
info: [KUBE-AUTH]: out-channel "kube-auth:70b997fe-52e1-467e-addf-0038cd2c6a4a" {"data":"Authentication proxy started\n","meta":{"id":"70b997fe-52e1-467e-addf-0038cd2c6a4a","name":"aksclustername","initialized":true,"ready":false,"online":false,"accessible":false,"disconnected":true}}
info: [KUBE-AUTH]: out-channel "kube-auth:70b997fe-52e1-467e-addf-0038cd2c6a4a" {"data":"2021/01/21 19:43:45 http: proxy error: dial tcp: lookup akscsuat-b426efbf.hcp.centralus.azmk8s.io on 127.0.0.53:53: no such host\n2021/01/21 19:43:45 http: proxy error: dial tcp: lookup akscsuat-b426efbf.hcp.centralus.azmk8s.io on 127.0.0.53:53: no such host\n","error":true,"meta":{"id":"70b997fe-52e1-467e-addf-0038cd2c6a4a","name":"aksclustername","initialized":true,"ready":false,"online":false,"accessible":false,"disconnected":false}}
error: Failed to connect cluster "aksclustername": StatusCodeError: 502 - undefined
info: [KUBE-AUTH]: out-channel "kube-auth:70b997fe-52e1-467e-addf-0038cd2c6a4a" {"data":"2021/01/21 19:43:46 http: proxy error: dial tcp: lookup akscsuat-b426efbf.hcp.centralus.azmk8s.io on 127.0.0.53:53: no such host\n","error":true,"meta":{"id":"70b997fe-52e1-467e-addf-0038cd2c6a4a","name":"aksclustername","initialized":true,"ready":false,"online":false,"accessible":false,"disconnected":false}}
info: [KUBE-AUTH]: out-channel "kube-auth:70b997fe-52e1-467e-addf-0038cd2c6a4a" {"data":"2021/01/21 19:43:46 http: proxy error: dial tcp: lookup akscsuat-b426efbf.hcp.centralus.azmk8s.io on 127.0.0.53:53: no such host\n","error":true,"meta":{"id":"70b997fe-52e1-467e-addf-0038cd2c6a4a","name":"aksclustername","initialized":true,"ready":false,"online":false,"accessible":false,"disconnected":false}}
info: [KUBE-AUTH]: out-channel "kube-auth:70b997fe-52e1-467e-addf-0038cd2c6a4a" {"data":"2021/01/21 19:43:46 http: proxy error: dial tcp: lookup akscsuat-b426efbf.hcp.centralus.azmk8s.io on 127.0.0.53:53: no such host\n","error":true,"meta":{"id":"70b997fe-52e1-467e-addf-0038cd2c6a4a","name":"aksclustername","initialized":true,"ready":false,"online":false,"accessible":false,"disconnected":false}}

My system information

(azure) ╭─filbot@oryx-pop ~/Downloads  
╰─➤  neofetch                                                                                                                                                                           130 ↵
             /////////////                filbot@oryx-pop 
         /////////////////////            --------------- 
      ///////*767////////////////         OS: Pop!_OS 20.10 x86_64 
    //////7676767676*//////////////       Host: Oryx Pro oryp6 
   /////76767//7676767//////////////      Kernel: 5.8.0-7630-generic 
  /////767676///*76767///////////////     Uptime: 11 hours, 51 mins 
 ///////767676///76767.///7676*///////    Packages: 2681 (dpkg), 57 (flatpak) 
/////////767676//76767///767676////////   Shell: zsh 5.8 
//////////76767676767////76767/////////   Resolution: 1920x1080 
///////////76767676//////7676//////////   DE: GNOME 
////////////,7676,///////767///////////   WM: Mutter 
/////////////*7676///////76////////////   WM Theme: Pop 
///////////////7676////////////////////   Theme: Pop-dark [GTK2/3] 
 ///////////////7676///767////////////    Icons: Pop [GTK2/3] 
  //////////////////////'////////////     Terminal: gnome-terminal 
   //////.7676767676767676767,//////      CPU: Intel i7-10875H (16) @ 5.100GHz 
    /////767676767676767676767/////       GPU: Intel UHD Graphics 
      ///////////////////////////         GPU: NVIDIA GeForce RTX 2060 Mobile 
         /////////////////////            Memory: 7627MiB / 31983MiB 
             /////////////

Also, could the telemetry be opt-in?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.