From c6c5a1b1f82183c3905bbae37a4dad11dddfeb9e Mon Sep 17 00:00:00 2001 From: Nikola Jokic Date: Thu, 27 Mar 2025 15:38:49 +0100 Subject: [PATCH] remove kube-score --- .github/workflows/arc-validate-chart.yaml | 17 ----------------- charts/.ci/scripts/local-kube-score.sh | 3 +-- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/.github/workflows/arc-validate-chart.yaml b/.github/workflows/arc-validate-chart.yaml index 473d6bb5..d93fa27f 100644 --- a/.github/workflows/arc-validate-chart.yaml +++ b/.github/workflows/arc-validate-chart.yaml @@ -50,23 +50,6 @@ jobs: with: version: ${{ env.HELM_VERSION }} - - name: Set up kube-score - run: | - wget https://github.com/zegl/kube-score/releases/download/v${{ env.KUBE_SCORE_VERSION }}/kube-score_${{ env.KUBE_SCORE_VERSION }}_linux_amd64 -O kube-score - chmod 755 kube-score - - - name: Kube-score generated manifests - run: | - helm template --values charts/.ci/values-kube-score.yaml charts/* | ./kube-score score - - --ignore-test pod-networkpolicy - --ignore-test deployment-has-poddisruptionbudget - --ignore-test deployment-has-host-podantiaffinity - --ignore-test container-security-context - --ignore-test pod-probes - --ignore-test container-image-tag - --enable-optional-test container-security-context-privileged - --enable-optional-test container-security-context-readonlyrootfilesystem - # python is a requirement for the chart-testing action below (supports yamllint among other tests) - uses: actions/setup-python@v5 with: diff --git a/charts/.ci/scripts/local-kube-score.sh b/charts/.ci/scripts/local-kube-score.sh index 3982b388..a8592dfd 100755 --- a/charts/.ci/scripts/local-kube-score.sh +++ b/charts/.ci/scripts/local-kube-score.sh @@ -1,6 +1,5 @@ #!/bin/bash - for chart in `ls charts`; do helm template --values charts/$chart/ci/ci-values.yaml charts/$chart | kube-score score - \ @@ -12,4 +11,4 @@ helm template --values charts/$chart/ci/ci-values.yaml charts/$chart | kube-scor --enable-optional-test container-security-context-privileged \ --enable-optional-test container-security-context-readonlyrootfilesystem \ --ignore-test container-security-context -done \ No newline at end of file +done