Merge pull request #16644 from rook/mergify/bp/release-1.18/pr-16640

ci: add kustomize to helm.lint (backport #16640)
This commit is contained in:
Travis Nielsen authored and GitHub committed 2025-10-28 06:55:15 -07:00
commit 320913cdbc
1 file changed
+5
+5
View File
@@ -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