Add Resource in the chain when executing commands
Context
When executing a script inside the copy pods, an error is thrown because Kuberneets cannot find the requested resource.
Change
This MR attempts to fix the issue of not finding the requested resource by adding the Resource
method to the chain of functions needed to execute a script inside a pod. This was missing in the worker refactor by human error.