fix container updates always marked as true
This commit is contained in:
parent
0d4969042b
commit
a6213a65e3
@ -21,6 +21,8 @@ do
|
|||||||
new_chart_ver=$(echo "$app" | awk -F ',' '{print $5}' | awk -F '_' '{print $2}' | awk -F '.' '{print $1}') # New Chart MAJOR version
|
new_chart_ver=$(echo "$app" | awk -F ',' '{print $5}' | awk -F '_' '{print $2}' | awk -F '.' '{print $1}') # New Chart MAJOR version
|
||||||
diff_app=$(diff <(echo "$old_app_ver") <(echo "$new_app_ver")) #caluclating difference in major app versions
|
diff_app=$(diff <(echo "$old_app_ver") <(echo "$new_app_ver")) #caluclating difference in major app versions
|
||||||
diff_chart=$(diff <(echo "$old_chart_ver") <(echo "$new_chart_ver")) #caluclating difference in Chart versions
|
diff_chart=$(diff <(echo "$old_chart_ver") <(echo "$new_chart_ver")) #caluclating difference in Chart versions
|
||||||
|
old_full_ver=$(echo "${array[$index]}" | awk -F ',' '{print $4}') #Upgraded From
|
||||||
|
new_full_ver=$(echo "${array[$index]}" | awk -F ',' '{print $5}') #Upraded To
|
||||||
|
|
||||||
#Skip application if its on ignore list
|
#Skip application if its on ignore list
|
||||||
if printf '%s\0' "${ignore[@]}" | grep -iFxqz "${app_name}" ; then
|
if printf '%s\0' "${ignore[@]}" | grep -iFxqz "${app_name}" ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user