Skip to content

Commit

Permalink
INSIGHTS-120 - Fix check all versions for insights-plugins (#938)
Browse files Browse the repository at this point in the history
* INSIGHTS-120: Fix check all versions for insights-plugins

* INSIGHTS-120: Fix check all versions for insights-plugins

* INSIGHTS-120: Fix check all versions for insights-plugins

* INSIGHTS-120: Fix check all versions for insights-plugins

* INSIGHTS-120: Fix check all versions for insights-plugins

* INSIGHTS-120: Fix check all versions for insights-plugins

* INSIGHTS-120: Fix check all versions for insights-plugins

* INSIGHTS-120: Fix check all versions for insights-plugins

* INSIGHTS-120: Fix check all versions for insights-plugins

* INSIGHTS-120: Fix check all versions for insights-plugins
  • Loading branch information
jdesouza authored Jun 13, 2024
1 parent 46219ee commit bea7bfc
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit bea7bfc

Please sign in to comment.