diff --git a/pkg/plugins/trigger/periodic.go b/pkg/plugins/trigger/periodic.go index 3e35e2d21..379f82de8 100644 --- a/pkg/plugins/trigger/periodic.go +++ b/pkg/plugins/trigger/periodic.go @@ -306,7 +306,7 @@ func (pa *PeriodicAgent) UpdatePeriodicsForRepo( } pj := jobutil.NewLighthouseJob(jobutil.PeriodicSpec(l, p, refs), labels, p.Annotations) - lighthouseData, err := json.MarshalIndent(pj, "", " ") + lighthouseData, err := json.Marshal(pj) // Only apply if any value have changed existingCm := getExistingConfigMap(p)