How to enable image scanning in flux/weaveworks?

5/29/2020

I"m trying to perform an action with flux api;

http://flux-api:3030/api/flux/v10/images?namespace=flux-admin

flux server return an error;

caller=images.go:159 component=daemon err="fetching image metadata XXXXXXXXXXXX: cannot perfom operation, image scanning is disabled"

flux was installed with these options :

kubecfg --ext-str namespace="flux-admin" --ext-str git_url="git@gitxxxxx.com:gcl/openshift-cluster-admin.git" --ext-str git_key="$(<~/.ssh/id_rsa-flux)" --ext-str cluster=lab update install.jsonnet

how to activate image sanning in flux/kubernetes ?

tnx

-- FF123
gitops
kubernetes
openshift

0 Answers