Allow InitContainer to pull vulnerability-db from private registry #1341
yanehi
started this conversation in
Development
Replies: 2 comments 2 replies
-
@yanehi currently it is not supported as you mention , can you open an issue for it. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hello, What is the status of this request? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to run the trivy-operator in standalone mode in an air-gapped environment. For this we use our own trivy-image, which contains the vulnerability databases.
For all scan-jobs the project works as expected. However, the InitContainer started by the trivy-operator always bypasses the cache (since I can't give it a pvc) and unfortunately can't download our vulnerability-db from our private registry. An ImagePullSecret is set at the podlevel and already allows the InitContainer itself to pull the image from our private registry. However, in the trivy command it tries to load the db from our private registry:
Command
Is there any way at this point to pass in credentials so that it can pull the db (image) from our private registry?
Beta Was this translation helpful? Give feedback.
All reactions