From ca28f7b59ea1b8c0bf9911cc921245d7ba0fd8b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20=C5=9Awi=C4=85tek?= Date: Tue, 7 Nov 2023 17:12:23 +0100 Subject: [PATCH] chore(dependency_checker): ignore kube-prometheus-stack --- ci/check_dependencies/helm_charts.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/check_dependencies/helm_charts.py b/ci/check_dependencies/helm_charts.py index 28162c99dd..88397b55ce 100644 --- a/ci/check_dependencies/helm_charts.py +++ b/ci/check_dependencies/helm_charts.py @@ -11,6 +11,8 @@ VERSION_IDX = 0 CREATED_IDX = 1 +# We ignore Prometheus here, as we're locked to whatever version is CRD-compatible with OpenShift +DEPENDENCIES_TO_IGNORE=("kube-prometheus-stack") def get_info(): cache_file = "cache/Chart.yaml" @@ -20,6 +22,8 @@ def get_info(): deps = chart_yaml["dependencies"] for dep in deps: + if dep["name"] in DEPENDENCIES_TO_IGNORE: + continue index_page = "{}/{}".format(dep["repository"], "index.yaml") cache_file = "{}/{}.yaml".format("cache", dep["name"]) current_version = dep["version"]