From a3f3606e6ec1d869ba31ced37e5e3d767389a675 Mon Sep 17 00:00:00 2001 From: Pete Wall Date: Tue, 1 Oct 2024 14:47:15 -0500 Subject: [PATCH] add ct configs for charts that use dependenties Signed-off-by: Pete Wall --- charts/feature-cluster-metrics/.ct.yaml | 3 +++ charts/feature-prometheus-operator-objects/.ct.yaml | 2 ++ charts/feature-prometheus-operator-objects/Makefile | 2 +- charts/k8s-monitoring/Makefile | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 charts/feature-cluster-metrics/.ct.yaml create mode 100644 charts/feature-prometheus-operator-objects/.ct.yaml diff --git a/charts/feature-cluster-metrics/.ct.yaml b/charts/feature-cluster-metrics/.ct.yaml new file mode 100644 index 000000000..9e282490a --- /dev/null +++ b/charts/feature-cluster-metrics/.ct.yaml @@ -0,0 +1,3 @@ +chart-repos: + - kepler=https://sustainable-computing-io.github.io/kepler-helm-chart + - prometheus-community=https://prometheus-community.github.io/helm-charts diff --git a/charts/feature-prometheus-operator-objects/.ct.yaml b/charts/feature-prometheus-operator-objects/.ct.yaml new file mode 100644 index 000000000..abf1d60b2 --- /dev/null +++ b/charts/feature-prometheus-operator-objects/.ct.yaml @@ -0,0 +1,2 @@ +chart-repos: + - prometheus-community=https://prometheus-community.github.io/helm-charts diff --git a/charts/feature-prometheus-operator-objects/Makefile b/charts/feature-prometheus-operator-objects/Makefile index 605b55098..e465f2aa3 100644 --- a/charts/feature-prometheus-operator-objects/Makefile +++ b/charts/feature-prometheus-operator-objects/Makefile @@ -26,7 +26,7 @@ build: README.md Chart.lock values.schema.json .PHONY: test test: build helm lint . - ct lint --lint-conf ../../.configs/lintconf.yaml --check-version-increment=false --charts . + ct lint --config .ct.yaml --lint-conf ../../.configs/lintconf.yaml --check-version-increment=false --charts . ifdef HAS_HELM_UNITTEST helm unittest . else diff --git a/charts/k8s-monitoring/Makefile b/charts/k8s-monitoring/Makefile index 443e2754e..e5be0612e 100644 --- a/charts/k8s-monitoring/Makefile +++ b/charts/k8s-monitoring/Makefile @@ -109,7 +109,7 @@ lint-configs: $(EXAMPLE_ALLOY_FILES) lint-helm: build helm lint . - ct lint --lint-conf ../../.configs/lintconf.yaml --check-version-increment=false --charts . + ct lint --config .ct.yaml --lint-conf ../../.configs/lintconf.yaml --check-version-increment=false --charts . unittest: build ifdef HAS_HELM_UNITTEST