diff --git a/internal/build/build.go b/internal/build/build.go index 0f2f1ca4..dd09594a 100644 --- a/internal/build/build.go +++ b/internal/build/build.go @@ -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()