Skip to content

Commit 59c2c13

Browse files
committed
chore: nit
1 parent ad38d80 commit 59c2c13

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

deploy/vuln-monitor/scan.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717

1818
set -xeo pipefail
1919
# Variables that will be substituted by trigger configuration or valued provided through command line with --substitutions flag.
20-
if [ -z "$_TAG_FILTER" ]; then
21-
_TAG_FILTER="v.*-lts|^edge$"
22-
fi
2320
if [ -z "$_BASE_IMAGE" ] ; then
2421
_BASE_IMAGE="us-east1-docker.pkg.dev/k8s-skaffold/scanning/skaffold"
2522
fi
@@ -40,7 +37,7 @@ check_vulnerability(){
4037
# We should only scan lts images within 1 year window from the first patch of the release.
4138
targeted_base_tags="$(gcloud container images list-tags "$base_image" --filter="timestamp.datetime > -P1Y AND tags~v.*\.1-lts" --format='value(tags)')"
4239
for line in $targeted_base_tags; do
43-
IFS=',' read -ra t <<< "${line}"
40+
IFS="," read -ra t <<< "${line}"
4441
replacement="\."
4542
t[0]="${t[0]//./$replacement}"
4643
tags_filter+="${t[0]/1-lts/.*-lts}|"

0 commit comments

Comments
 (0)