|
|
@ -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) {
|
|
|
|
func generateSyncManifests(url, branch, name, namespace, targetPath, tmpDir string, interval time.Duration) (string, error) {
|
|
|
|
opts := sync.Options{
|
|
|
|
opts := sync.Options{
|
|
|
|
Name: name,
|
|
|
|
Name: name,
|
|
|
|
Namespace: namespace,
|
|
|
|
Namespace: namespace,
|
|
|
|
URL: url,
|
|
|
|
URL: url,
|
|
|
|
Branch: branch,
|
|
|
|
Branch: branch,
|
|
|
|
Interval: interval,
|
|
|
|
Interval: interval,
|
|
|
|
TargetPath: targetPath,
|
|
|
|
TargetPath: targetPath,
|
|
|
|
ManifestFile: sync.MakeDefaultOptions().ManifestFile,
|
|
|
|
ManifestFile: sync.MakeDefaultOptions().ManifestFile,
|
|
|
|
GitImplementation: sync.MakeDefaultOptions().GitImplementation,
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
manifest, err := sync.Generate(opts)
|
|
|
|
manifest, err := sync.Generate(opts)
|
|
|
|