diff --git a/.github/workflows/kube-linter.yaml b/.github/workflows/kube-linter.yaml index 0e92c9aae7d..1b4e2a21606 100644 --- a/.github/workflows/kube-linter.yaml +++ b/.github/workflows/kube-linter.yaml @@ -29,7 +29,7 @@ jobs: ! -path 'components/repository-validator/staging/*' \ ! -path 'components/repository-validator/production/*' \ | \ - xargs -I {} -n1 -P8 bash -c 'dir=$(dirname "{}"); output_file=$(echo $dir | tr / -)-kustomization.yaml; if ! log=$(kustomize build "$dir" -o "kustomizedfiles/$output_file" 2>&1); then echo "Error when running kustomize build for $dir: $log" && exit 1;fi' + xargs -I {} -n1 -P8 bash -c 'dir=$(dirname "{}"); output_file=$(echo $dir | tr / -)-kustomization.yaml; if ! log=$(kustomize build --enable-helm "$dir" -o "kustomizedfiles/$output_file" 2>&1); then echo "Error when running kustomize build for $dir: $log" && exit 1;fi' - name: Scan yaml files with kube-linter uses: stackrox/kube-linter-action@v1.0.4