From 8db2b76d007ca516bf9caef7e3fca3a95b94ed3e Mon Sep 17 00:00:00 2001 From: Christoph Barbian Date: Fri, 27 Dec 2024 20:16:20 +0100 Subject: [PATCH] update workflows --- .github/workflows/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 14c672d..922ebf2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -49,6 +49,10 @@ jobs: - name: Install Helm chart and run Helm tests run: | + if [ -f $CHART_DIRECTORY/.setup.yaml ]; then + kubectl apply -f $CHART_DIRECTORY/.setup.yaml + sleep 5 + fi release_name=$(yq .name $CHART_DIRECTORY/Chart.yaml) kubectl create ns operator-system helm -n operator-system upgrade -i $release_name --wait --timeout 5m $CHART_DIRECTORY