Skip to content

Commit

Permalink
pass HasMultipleSources when appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
djeebus committed Nov 1, 2024
1 parent d341180 commit 10c2ed0
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions pkg/argo_client/manifests.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,16 @@ func (argo *ArgoClient) generateManifests(
tempRepoDir,
source.TargetRevision,
&repoapiclient.ManifestRequest{
Repo: &argoappv1.Repository{Repo: source.RepoURL},
AppLabelKey: argoSettings.AppLabelKey,
AppName: app.Name,
Namespace: app.Spec.Destination.Namespace,
ApplicationSource: &source,
KustomizeOptions: argoSettings.KustomizeOptions,
KubeVersion: cluster.Info.ServerVersion,
ApiVersions: cluster.Info.APIVersions,
TrackingMethod: argoSettings.TrackingMethod,
Repo: &argoappv1.Repository{Repo: source.RepoURL},
AppLabelKey: argoSettings.AppLabelKey,
AppName: app.Name,
Namespace: app.Spec.Destination.Namespace,
ApplicationSource: &source,
KustomizeOptions: argoSettings.KustomizeOptions,
KubeVersion: cluster.Info.ServerVersion,
ApiVersions: cluster.Info.APIVersions,
TrackingMethod: argoSettings.TrackingMethod,
HasMultipleSources: app.Spec.HasMultipleSources(),
},
true,
new(git.NoopCredsStore),
Expand Down

0 comments on commit 10c2ed0

Please sign in to comment.