mirror of
https://git.sr.ht/~goorzhel/turboprop
synced 2024-12-14 11:37:37 +00:00
Fix bug: include dirs in Kustomizations again
I meant to exclude `*.yaml.drv` but ended up excluding whole dirs too.
This commit is contained in:
parent
e48d34df84
commit
f1332fc3ca
1 changed files with 3 additions and 1 deletions
|
@ -8,6 +8,8 @@
|
||||||
: "${extra_drvs:-}"
|
: "${extra_drvs:-}"
|
||||||
: "${namespace_drv:-}"
|
: "${namespace_drv:-}"
|
||||||
|
|
||||||
|
GLOBIGNORE="*.drv" # don't add symlinks to Kustomizations
|
||||||
|
|
||||||
build_kustomizations() {
|
build_kustomizations() {
|
||||||
out_root="$out/$1"
|
out_root="$out/$1"
|
||||||
|
|
||||||
|
@ -18,7 +20,7 @@ build_kustomizations() {
|
||||||
pushd "$dir" > /dev/null || exit 1
|
pushd "$dir" > /dev/null || exit 1
|
||||||
|
|
||||||
kustomize create
|
kustomize create
|
||||||
kustomize edit add resource -- *.yaml
|
kustomize edit add resource -- *
|
||||||
|
|
||||||
popd > /dev/null || exit 1
|
popd > /dev/null || exit 1
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue