From b0c1b2df8c76fc9c2e26d68fa4ed4d6e673273cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=B6xtermann?= Date: Fri, 24 Oct 2025 00:21:42 +0200 Subject: [PATCH] ci: add kustomize to helm.lint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This catches duplicate keys in maps. Signed-off-by: Daniel Höxtermann (cherry picked from commit 5ffd43e5391b51c921087cf6d674b1e1cee21b07) --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 9a1dc48e5..a432507df 100644 --- a/Makefile +++ b/Makefile @@ -182,6 +182,11 @@ yamllint: helm.lint: ## Check the helm charts ct lint --charts=./deploy/charts/rook-ceph,./deploy/charts/rook-ceph-cluster --validate-yaml=false --validate-maintainers=false + helm -n rook-ceph template deploy/charts/rook-ceph > templated.yaml + helm -n rook-ceph template deploy/charts/rook-ceph-cluster >> templated.yaml + echo 'resources: [templated.yaml]' > kustomization.yaml + kustomize build >/dev/null + rm templated.yaml kustomization.yaml .PHONY: lint lint: yamllint pylint shellcheck checkmake vet markdownlint golangci-lint helm.lint ## Run various linters