Add support for .sourceignore to flux build/diff

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
pull/3758/head
Stefan Prodan 2 years ago
parent cecffc0588
commit f0c498ff54
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF

@ -326,7 +326,7 @@ func (b *Builder) generate(kustomization kustomizev1.Kustomization, dirPath stri
if err != nil {
return "", err
}
gen := kustomize.NewGenerator("", unstructured.Unstructured{Object: data})
gen := kustomize.NewGeneratorWithIgnore("", "", unstructured.Unstructured{Object: data})
// acuire the lock
b.mu.Lock()

Loading…
Cancel
Save