Skip to content

Commit

Permalink
skip proxy-init image scan
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <[email protected]>
  • Loading branch information
aramase committed Apr 30, 2024
1 parent 2e61f92 commit a221f09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pipelines/templates/scan-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ steps:
tar zxvf trivy_${TRIVY_VERSION:-0.24.4}_Linux-64bit.tar.gz
# show all vulnerabilities in the logs
./trivy image --reset
for IMAGE_NAME in "proxy" "proxy-init" "webhook"; do
# TODO(aramase): add proxy-init image after https://github.com/kubernetes/release/issues/3593 is fixed
for IMAGE_NAME in "proxy" "webhook"; do
./trivy image "${REGISTRY}/${IMAGE_NAME}:${IMAGE_VERSION}-linux-amd64"
./trivy image --exit-code 1 --ignore-unfixed --severity MEDIUM,HIGH,CRITICAL "${REGISTRY}/${IMAGE_NAME}:${IMAGE_VERSION}-linux-amd64" || exit 1
done
Expand Down

0 comments on commit a221f09

Please sign in to comment.