From f1332fc3ca1fe124439d896ed4133de782497e3d Mon Sep 17 00:00:00 2001 From: Antonio Gurgel Date: Fri, 24 Nov 2023 13:08:41 -0800 Subject: [PATCH] Fix bug: include dirs in Kustomizations again I meant to exclude `*.yaml.drv` but ended up excluding whole dirs too. --- lib/output.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/output.sh b/lib/output.sh index ba91c9b..469fa9b 100644 --- a/lib/output.sh +++ b/lib/output.sh @@ -8,6 +8,8 @@ : "${extra_drvs:-}" : "${namespace_drv:-}" +GLOBIGNORE="*.drv" # don't add symlinks to Kustomizations + build_kustomizations() { out_root="$out/$1" @@ -18,7 +20,7 @@ build_kustomizations() { pushd "$dir" > /dev/null || exit 1 kustomize create - kustomize edit add resource -- *.yaml + kustomize edit add resource -- * popd > /dev/null || exit 1 done