diff --git a/integrations/helm/chartsync/chartsync.go b/integrations/helm/chartsync/chartsync.go index 2e2d5eb53..d474f671a 100644 --- a/integrations/helm/chartsync/chartsync.go +++ b/integrations/helm/chartsync/chartsync.go @@ -453,6 +453,9 @@ func (chs *ChartChangeSync) getCustomResourcesForMirror(mirror string) ([]fluxv1 } for _, fhr := range list { + if fhr.Spec.GitChartSource == nil { + continue + } if mirror != mirrorName(fhr.Spec.GitChartSource) { continue }