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

Unable to install plugin #3

Description

@alphayax

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions