From d4238f5b45f905635fc97afe251eac44dd6c68bb Mon Sep 17 00:00:00 2001 From: Ben Donnelly Date: Thu, 8 Feb 2024 20:28:57 +0000 Subject: [PATCH] chore(deep): fix test and fix helm unittest version --- .github/workflows/unittest.yml | 2 +- .idea/deep-helm.iml | 7 +++++++ charts/deep/unittests/serviceMonitor_test.yaml | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 5a8e532..d06cdd0 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: helm plugin install https://github.com/helm-unittest/helm-unittest.git + - run: helm plugin install https://github.com/helm-unittest/helm-unittest.git --version 0.4.1 - name: Helm unittest run: | helm unittest -f unittests/*_test.yaml ${GITHUB_WORKSPACE}/charts/deep diff --git a/.idea/deep-helm.iml b/.idea/deep-helm.iml index a4de2ac..522bf33 100644 --- a/.idea/deep-helm.iml +++ b/.idea/deep-helm.iml @@ -9,4 +9,11 @@ + + + \ No newline at end of file diff --git a/charts/deep/unittests/serviceMonitor_test.yaml b/charts/deep/unittests/serviceMonitor_test.yaml index 2f4760c..9b90963 100644 --- a/charts/deep/unittests/serviceMonitor_test.yaml +++ b/charts/deep/unittests/serviceMonitor_test.yaml @@ -34,6 +34,7 @@ tests: config: clusterName: "fromconfig" monitoring: + enabled: true serviceMonitor: clusterLabel: "labelfromconfig" template: serviceMonitor.yaml