func NewTask(pkg packageI, crdsInstaller crdsInstaller, status statusService) queue.Task
NewTask creates an EnsureCRD task for the given package.
On failure the error is forwarded to the status service so that
the corresponding condition is updated before the task retries.