Skip to content

Commit 515358e

Browse files
committed
chore: disable trivy package testing for driver-crds
Signed-off-by: Anish Ramasekar <[email protected]>
1 parent 924b3b8 commit 515358e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ image-scan: $(TRIVY) ## Run image-scan
164164
$(TRIVY) image --severity MEDIUM,HIGH,CRITICAL $(CRD_IMAGE_TAG)
165165
# show vulnerabilities that have been fixed
166166
$(TRIVY) image --exit-code 1 --ignore-unfixed --severity MEDIUM,HIGH,CRITICAL $(IMAGE_TAG)
167-
$(TRIVY) image --exit-code 1 --ignore-unfixed --severity MEDIUM,HIGH,CRITICAL $(CRD_IMAGE_TAG)
167+
# The kubectl binary release is based on Kubernetes release cadence, so only failing for os vuln that we can actively patch
168+
$(TRIVY) image --vuln-type os --exit-code 1 --ignore-unfixed --severity MEDIUM,HIGH,CRITICAL $(CRD_IMAGE_TAG)
168169

169170
## Tooling Binaries
170171

0 commit comments

Comments
 (0)