Open dkarnutsch opened 2 years ago
@dkarnutsch can you try restart lens ?
Yes, I tried to restart Lens a couple of times. Still no luck.
@dkarnutsch I was not able to reproduce the issue. Can you check if it work with older version of lens and trivy-operator-lens-extension ? For example:
@chen-keinan It is hard to get older versions of Lens as they are not linked on the website. However, I've tried it with the following Lens version
Lens: 5.5.4-latest.20220609.2
Electron: 14.2.9
Chrome: 93.0.4577.82
Node: 14.17.0
and trivy-operator-lens-extension v0.0.5
but is is not working. I will try it with another machine as this one has Apple Silicon.
and
trivy-operator-lens-extension v0.0.5
but is is not working. I will try it with another machine as this one has Apple Silicon.
Please do and let me know.
btw: I'm running on Apple Silicon myself and it works for me. I'll ask my teammates to check it as well.
It is also not working on another device. I get a couple of errors in the console, which might help:
BrowserConsole.js:47 [EXTENSIONS-LOADER]: can't load renderer for "@aquasecurity/trivy-operator-lens-extension": Error: Cannot find module '/Users/danielkarnutsch/Library/Application Support/Lens/node_modules/@aquasecurity/trivy-operator-lens-extension/dist/renderer.js'
Require stack:
- electron/js2c/renderer_init
at Module._resolveFilename (node:internal/modules/cjs/loader:934:15)
at Function.o._resolveFilename (node:electron/js2c/renderer_init:29:1118)
at Module._load (node:internal/modules/cjs/loader:779:27)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Function.o._load (node:electron/js2c/renderer_init:29:379)
at Module.require (node:internal/modules/cjs/loader:1006:19)
at require (node:internal/modules/cjs/helpers:93:18)
at ExtensionLoader.requireExtension (http://b9c501df7479e50a8b31db77f24f05fb.localhost:49250/build/Lens.js?638f230ede63077704e9:529164:20)
at http://b9c501df7479e50a8b31db77f24f05fb.localhost:49250/build/Lens.js?638f230ede63077704e9:529104:53
at Array.map (<anonymous>) Object
__webpack_modules__.1246.BrowserConsole.log @ BrowserConsole.js:47
@dkarnutsch sorry it's took too long for me to response, I will ask my coworker to test it also on a him computer as I'm unable to reproduce it on mime.
@chen-keinan thanks for coming back!
I gave it another try and it is still not working with the following versions used:
I'll also let a Co-Worker try it!
@dkarnutsch did you get anywhere with this? Is this repo dead?
I've installed the extension and it seems to be enabled.
However, I can't see the "trivy-operator" menu item.
If I query kubernetes for vulnerabilityreports, I get results:
Versions used:
Any help appreciated.