mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-24 09:50:08 +00:00
This commit is contained in:
parent
07effbd950
commit
6a4d84d42c
1 changed files with 5 additions and 0 deletions
|
|
@ -186,6 +186,10 @@ func (s *Server) GetManifests(ctx context.Context, q *ApplicationManifestQuery)
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
helmRepos, err := s.db.ListHelmRepos(ctx)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
manifestInfo, err := repoClient.GenerateManifest(ctx, &repository.ManifestRequest{
|
||||
Repo: repo,
|
||||
Revision: revision,
|
||||
|
|
@ -194,6 +198,7 @@ func (s *Server) GetManifests(ctx context.Context, q *ApplicationManifestQuery)
|
|||
AppLabelValue: a.Name,
|
||||
Namespace: a.Spec.Destination.Namespace,
|
||||
ApplicationSource: &a.Spec.Source,
|
||||
HelmRepos: helmRepos,
|
||||
})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Reference in a new issue