Skip to content

Commit

Permalink
Merge pull request #283 from Miciah/BZ1973482-status-watch-daemonsets
Browse files Browse the repository at this point in the history
Bug 1973482: status: Watch daemonsets
  • Loading branch information
openshift-merge-robot committed Jun 27, 2021
2 parents 630e56e + fe9618f commit 154a5bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/operator/controller/status/controller.go
Expand Up @@ -75,6 +75,9 @@ func New(mgr manager.Manager, config operatorconfig.Config) (controller.Controll
if err := c.Watch(&source.Kind{Type: &operatorv1.DNS{}}, &handler.EnqueueRequestForObject{}); err != nil {
return nil, err
}
if err := c.Watch(&source.Kind{Type: &appsv1.DaemonSet{}}, &handler.EnqueueRequestForOwner{OwnerType: &operatorv1.DNS{}}); err != nil {
return nil, err
}
return c, nil
}

Expand Down

0 comments on commit 154a5bc

Please sign in to comment.