From 8d5b455d24fb76d3c8bdbaeb7a9bc2d7f4463f32 Mon Sep 17 00:00:00 2001 From: Knut Ivar Alvestad Date: Fri, 21 Jun 2024 12:56:25 +0200 Subject: [PATCH] dont remake temp --- helm-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-test.sh b/helm-test.sh index 9fa8f1e..823a58b 100755 --- a/helm-test.sh +++ b/helm-test.sh @@ -14,7 +14,7 @@ for chart in */Chart.yaml; do helm lint $chart [ ! -z "$(echo $chart | egrep 'dotnet|golang|java|nodejs|web')" ] && { [ -d data ] && rm -rf data - mkdir data temp + # mkdir data temp helm template $chart --output-dir temp --set istio.enabled=1 --set csi.enabled=1 for f in temp/$chart/templates/*.yaml; do dst="data/$(basename $f | sed 's/yaml/json/g')"; yq eval $f -o json > $dst; done conftest test data/*