From 01670394a9ea6dd9bb5850e9e32f42ab7dd4f593 Mon Sep 17 00:00:00 2001 From: mg365348 Date: Sat, 8 Nov 2025 18:07:55 +0200 Subject: [PATCH 1/2] deleted kubeconform action --- .github/workflows/ci-kind-deploy.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/ci-kind-deploy.yml b/.github/workflows/ci-kind-deploy.yml index 267eca1e1..4ef5c7bbc 100644 --- a/.github/workflows/ci-kind-deploy.yml +++ b/.github/workflows/ci-kind-deploy.yml @@ -32,12 +32,6 @@ jobs: - name: Render chart manifests run: helm template ./helm > rendered-manifests.yaml - - name: Validate rendered manifests with kubeconform - uses: instrumenta/kubeconform-action@v1 - with: - files: rendered-manifests.yaml - args: -strict - unit-tests: name: Unit tests runs-on: ubuntu-latest From dee281d4c495b32ea7c3b76c85e200ca9d8b2d8f Mon Sep 17 00:00:00 2001 From: mg365348 Date: Sat, 8 Nov 2025 18:52:33 +0200 Subject: [PATCH 2/2] return helm script --- scripts/helm_lint.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 scripts/helm_lint.sh diff --git a/scripts/helm_lint.sh b/scripts/helm_lint.sh new file mode 100644 index 000000000..d65b80b04 --- /dev/null +++ b/scripts/helm_lint.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# Lint a Helm chart directory. Exits non-zero on failure. + +set -euo pipefail + +CHART_DIR="${1:-./helm}" + +echo "Running helm lint for chart directory: ${CHART_DIR}" + +if ! command -v helm >/dev/null 2>&1; then + echo "helm is required but not found in PATH" >&2 + exit 2 +fi + +helm lint "${CHART_DIR}" \ + || { echo "helm lint failed" >&2; exit 1; } + +echo "helm lint succeeded for ${CHART_DIR}" \ No newline at end of file