1
0
mirror of synced 2026-02-06 19:05:55 +00:00

fix: allow recursive dry-run over local sources

Signed-off-by: niveau0 <plingplong@t-online.de>
This commit is contained in:
niveau0
2025-02-26 13:28:50 +01:00
parent 0c73420ccf
commit 1b98e16940
2 changed files with 12 additions and 2 deletions

View File

@@ -169,6 +169,12 @@ spec:
resultFile: "./testdata/build-kustomization/podinfo-with-my-app-result.yaml",
assertFunc: "assertGoldenTemplateFile",
},
{
name: "build with recursive in dry-run mode",
args: "build kustomization podinfo --kustomization-file " + tmpFile + " --path ./testdata/build-kustomization/podinfo-with-my-app --recursive --local-sources GitRepository/default/podinfo=./testdata/build-kustomization --dry-run",
resultFile: "./testdata/build-kustomization/podinfo-with-my-app-result.yaml",
assertFunc: "assertGoldenTemplateFile",
},
}
tmpl := map[string]string{