Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Unable to install plugin #3

Open
alphayax opened this issue Sep 21, 2021 · 1 comment
Open

Unable to install plugin #3

alphayax opened this issue Sep 21, 2021 · 1 comment

Comments

@alphayax
Copy link

alphayax commented Sep 21, 2021

Hello, I have the following error when installing the plugin :

╰─ helm plugin install https://github.com/ObjectifLibre/helm-trivy
Installing helm-trivy 0.1.2
api ...
curl: (6) Could not resolve host: api
Error: plugin install hook for "trivy" exited with error

When I try to use it (it's partially installed), I have the following errors :

╰─ helm trivy stable/mysql
/home/alphayax/.local/share/helm/plugins/helm-trivy/scripts/run.sh: ligne 12: /home/alphayax/.local/share/helm/plugins/helm-trivy/bin/helm-trivy-linux: Aucun fichier ou dossier de ce type
Error: plugin "trivy" exited with error

I've tried to replace the missing file in /bin directly with my installed trivy

╰─ ln -s /usr/local/bin/trivy /home/alphayax/.local/share/helm/plugins/helm-trivy/bin/helm-trivy-linux

But, it dosn't work better

╰─ helm trivy stable/mysql
2021-09-21T16:45:29.441+0200	INFO	Need to update DB
2021-09-21T16:45:29.441+0200	INFO	Downloading DB...
23.98 MiB / 23.98 MiB [------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00% 19.86 MiB p/s 2s
2021-09-21T16:45:32.693+0200	FATAL	scan error: unable to initialize a scanner: unable to initialize a docker scanner: 3 errors occurred:
	* unable to inspect the image (index.docker.io/stable/mysql:latest): Error: No such image: index.docker.io/stable/mysql:latest
	* unable to initialize Podman client: no podman socket found: stat /run/user/1000/podman/podman.sock: no such file or directory
	* GET https://index.docker.io/v2/stable/mysql/manifests/latest: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:stable/mysql Type:repository]]


Error: plugin "trivy" exited with error
@alphayax
Copy link
Author

Seems fixed in https://github.com/ovdii/helm-trivy

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant