Does Starboard can run with container engine cri-o? #297
-
Hi i got an error when try to run starboard on OKD 3.11 with container engine cri-o. The errors is in below: Does Starboard can run with container engine cri-o? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
@chansgt I think this is not related to Kubernetes distribution nor container runtime. It seems that you're running a Kubernetes workload that refers to container image ( Trivy, which is the default vulnerability scanner used by Starboard, only supports manifest schema v2. We're not going to support old manifest formats in Trivy. /cc @knqyf263 I can reproduce the error by running Trivy directly:
|
Beta Was this translation helpful? Give feedback.
-
okk thanks for your info @danielpacak . I try to using starboard cli to scan the deployment but the result is error like the picture below Do you have any solution for this? |
Beta Was this translation helpful? Give feedback.
-
I cannot reproduce it with Starboard CLI 0.7.1 on upstream Kubernetes in my environment. @chansgt Would you be able to provide the description of the pod that's create by the scan job? You can find the name of the pod after enabling the verbose (-v 3) output. It's
|
Beta Was this translation helpful? Give feedback.
@chansgt I think this is not related to Kubernetes distribution nor container runtime. It seems that you're running a Kubernetes workload that refers to container image (
quay.io/openshift/origin-haproxy-router:v3.11
) with old manifest metadata schema (application/vnd.docker.distribution.manifest.v1+prettyjws
).Trivy, which is the default vulnerability scanner used by Starboard, only supports manifest schema v2. We're not going to support old manifest formats in Trivy. /cc @knqyf263
I can reproduce the error by running Trivy directly: