Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INSIGHTS-120 - Fix check all versions for insights-plugins #938

Merged
merged 10 commits into from
Jun 13, 2024
4 changes: 3 additions & 1 deletion scripts/check-all-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ rewrites["aws-costs"]="awscosts"
rewrites["falco-agent"]="falco"
rewrites["kube-bench-aggregator"]="kube-bench.aggregator"
rewrites["prometheus"]="prometheus-metrics"
rewrites["right-sizer"]="insights-right-sizer"

for proj in ${plugin_projects[@]}; do
latest_versions[$proj]=$(cat ../plugins/$proj/version.txt)
Expand All @@ -52,6 +51,9 @@ used_versions["admission"]=$(yq e ".appVersion" ./charts/stable/insights-admissi
latest_versions["admission-chart"]=$(yq e ".version" ./charts/stable/insights-admission/Chart.yaml)
used_versions["admission-chart"]=$(yq e ".dependencies[] | select(.name == \"insights-admission\").version" ./charts/stable/insights-agent/requirements.yaml)

#right-sizer version is oom-detection tag inside right-sizer
used_versions["right-sizer"]=$(yq e ".right-sizer.oom-detection.image.tag" $values_file)

all_projects=( admission admission-chart )
all_projects+=(${cloned_projects[@]})
all_projects+=(${plugin_projects[@]})
Expand Down