mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-23 08:01:48 +00:00
Add support for .sourceignore to flux build/diff
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
cecffc0588
commit
f0c498ff54
1 changed files with 1 additions and 1 deletions
|
|
@ -326,7 +326,7 @@ func (b *Builder) generate(kustomization kustomizev1.Kustomization, dirPath stri
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
gen := kustomize.NewGenerator("", unstructured.Unstructured{Object: data})
|
gen := kustomize.NewGeneratorWithIgnore("", "", unstructured.Unstructured{Object: data})
|
||||||
|
|
||||||
// acuire the lock
|
// acuire the lock
|
||||||
b.mu.Lock()
|
b.mu.Lock()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue