diff --git a/cmd/flux/bootstrap.go b/cmd/flux/bootstrap.go index 5e70e3a2..0dc8bd11 100644 --- a/cmd/flux/bootstrap.go +++ b/cmd/flux/bootstrap.go @@ -164,14 +164,13 @@ func applyInstallManifests(ctx context.Context, manifestPath string, components func generateSyncManifests(url, branch, name, namespace, targetPath, tmpDir string, interval time.Duration) (string, error) { opts := sync.Options{ - Name: name, - Namespace: namespace, - URL: url, - Branch: branch, - Interval: interval, - TargetPath: targetPath, - ManifestFile: sync.MakeDefaultOptions().ManifestFile, - GitImplementation: sync.MakeDefaultOptions().GitImplementation, + Name: name, + Namespace: namespace, + URL: url, + Branch: branch, + Interval: interval, + TargetPath: targetPath, + ManifestFile: sync.MakeDefaultOptions().ManifestFile, } manifest, err := sync.Generate(opts) diff --git a/pkg/manifestgen/sync/options.go b/pkg/manifestgen/sync/options.go index 4fb5955a..35347c23 100644 --- a/pkg/manifestgen/sync/options.go +++ b/pkg/manifestgen/sync/options.go @@ -18,8 +18,6 @@ package sync import ( "time" - - sourcev1 "github.com/fluxcd/source-controller/api/v1beta1" ) type Options struct { @@ -42,6 +40,6 @@ func MakeDefaultOptions() Options { Branch: "main", ManifestFile: "gotk-sync.yaml", TargetPath: "", - GitImplementation: sourcev1.GoGitImplementation, + GitImplementation: "", } }