Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnable to configurate scanner in Harbor to use pluggable Scanner from Neuvector #410

Open
jaimerperez opened this issue Jul 10, 2024 · 0 comments

Comments

@jaimerperez
Copy link

Hi I want to scan the harbor registries using the pluggable Scanner from Neuvector. I configured the 5.2 Helm chart
adapter: enabled: true harbor: protocol: http secretName: harbor-secret image: hash: null repository: neuvector/registry-adapter tag: 0.1.2

This is basically what I added to the neuvector values.yaml in rancher, but after deployment of the adapter, when it is necessary to configure the scanner in Harbor I dont see any scanner to Edit, and when I add an scanner I got the error: Internal Error Server.

The logs on the harbor-core pod:

[ERROR] [/controller/scanner/base_controller.go:299][error="v1 client: get metadata: Get "http://neuvector-service-registry-adapter.cattle-neuvector-system.svc:8090/endpoint/api/v1/metadata": dial tcp :8090: connect: connection refused" requestID="d458581a-12e5-4d7c-b401-d9446cff8ae1"]: failed to ping scanner [ERROR] [/lib/http/error.go:57]: {"errors":[{"code":"UNKNOWN","message":"api controller: create registration: scanner controller: ping: v1 client: get metadata: Get \"http://neuvector-service-registry-adapter.cattle-neuvector-system.svc:8090/endpoint/api/v1/metadata\": dial tcp :8090: connect: connection refused"}]}

Environment :
Rancher v2.7.4

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

No branches or pull requests

1 participant