List HelmChart for GitRepository change
Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
parent
3a3954fd8b
commit
254de30f6a
|
@ -808,7 +808,7 @@ func (r *HelmChartReconciler) requestsForHelmRepositoryChange(obj handler.MapObj
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
var list sourcev1.HelmRepositoryList
|
var list sourcev1.HelmChartList
|
||||||
if err := r.List(ctx, &list, client.MatchingFields{
|
if err := r.List(ctx, &list, client.MatchingFields{
|
||||||
sourcev1.SourceIndexKey: fmt.Sprintf("%s/%s", repo.Kind, repo.Name),
|
sourcev1.SourceIndexKey: fmt.Sprintf("%s/%s", repo.Kind, repo.Name),
|
||||||
}); err != nil {
|
}); err != nil {
|
||||||
|
|
Loading…
Reference in New Issue