Skip to content

How do I point kubescape scan at a different image registry to pull the host-scanner image? #1262

Answered by alegrey91
alexdyas asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @alexdyas, you can use the following command: kubescape scan --enable-host-scan --host-scan-yaml host-scanner.yaml.
The flag --host-scan-yaml will override the default DaemonSet with the file you give as argument.
My advice is to get a copy of this file: https://raw.githubusercontent.com/kubescape/kubescape/master/core/pkg/hostsensorutils/hostsensor.yaml and change the image: quay.io/kubescape/host-scanner:v1.0.61 according to your local registry location.
P. S. Keep in mind that this functionality will soon be deprecated in the command line.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@alexdyas
Comment options

@alegrey91
Comment options

@alexdyas
Comment options

Answer selected by alegrey91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants