diff --git a/internal/dao/cronjob.go b/internal/dao/cronjob.go index b02b95759e..3153349571 100644 --- a/internal/dao/cronjob.go +++ b/internal/dao/cronjob.go @@ -81,6 +81,7 @@ func (c *CronJob) Run(path string) error { APIVersion: c.gvr.GV().String(), Kind: "CronJob", BlockOwnerDeletion: &true, + Controller: &true, Name: cj.Name, UID: cj.UID, },