From 01670394a9ea6dd9bb5850e9e32f42ab7dd4f593 Mon Sep 17 00:00:00 2001 From: mg365348 Date: Sat, 8 Nov 2025 18:07:55 +0200 Subject: [PATCH 1/4] 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/4] 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 From 705951cb37a2aae01f5dc54a33780cca637b6686 Mon Sep 17 00:00:00 2001 From: mg365348 Date: Sat, 8 Nov 2025 18:56:42 +0200 Subject: [PATCH 3/4] deleted scripts --- .github/workflows/ci-kind-deploy.yml | 2 +- scripts/helm_lint.sh | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 scripts/helm_lint.sh diff --git a/.github/workflows/ci-kind-deploy.yml b/.github/workflows/ci-kind-deploy.yml index 4ef5c7bbc..c55632297 100644 --- a/.github/workflows/ci-kind-deploy.yml +++ b/.github/workflows/ci-kind-deploy.yml @@ -27,7 +27,7 @@ jobs: - name: Run helm lint run: | - ./scripts/helm_lint.sh ./helm + helm lint ./helm - name: Render chart manifests run: helm template ./helm > rendered-manifests.yaml diff --git a/scripts/helm_lint.sh b/scripts/helm_lint.sh deleted file mode 100644 index d65b80b04..000000000 --- a/scripts/helm_lint.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/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 From 7b60eb3f145cbcf775ca6e378fd1a0b4a1073db8 Mon Sep 17 00:00:00 2001 From: mg365348 Date: Sat, 8 Nov 2025 19:11:34 +0200 Subject: [PATCH 4/4] fixed --- .github/workflows/ci-kind-deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-kind-deploy.yml b/.github/workflows/ci-kind-deploy.yml index c55632297..ba1f50def 100644 --- a/.github/workflows/ci-kind-deploy.yml +++ b/.github/workflows/ci-kind-deploy.yml @@ -105,7 +105,10 @@ jobs: uses: actions/checkout@v4 - name: Setup kind - uses: engineerd/setup-kind@v0.5.0 + uses: helm/kind-action@v1 + with: + cluster_name: kind + wait: 120s - name: Build Docker image run: docker build -t $IMAGE .