From ac32bb76ca18942c49344bdf94e08288637f3412 Mon Sep 17 00:00:00 2001 From: Antonio Gurgel Date: Sat, 17 Feb 2024 12:09:21 -0800 Subject: [PATCH] Build top-level kustomization I broke the `k diff -k result` premise in fdb3f5b and never noticed. --- src/output.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/output.sh b/src/output.sh index 5ed549d..6540f0b 100644 --- a/src/output.sh +++ b/src/output.sh @@ -36,8 +36,6 @@ while read -r line; do ln -s "$drv_path" "$target_path.drv" done < <(tr ' ' '\n' <<< "$derivation_paths") -for root in "$out"/*; do - build_kustomizations "$root" -done +cp "$namespace_drv" "$out/!namespaces.yaml" -cp "$namespace_drv" "$out/namespaces.yaml" +build_kustomizations "$out"