Capture create doesn't detect CLI version
Description of Issue
Capture create does not pick up image version accurately.
See there is no version number after "retina-agent" -
This leads to the pods failing to be created as they try to pull an image without a version -
To Reproduce
Run kubectl retina capture create -n default.
Check kubectl get pods - you will see Status - InvalidImageName
Goal
Fix the way that the version is pulled and define a default if one is not present.
Definition of Done
retina capture create can run successfully, creating the jobs and pods without failure.
Related Issues
https://github.com/microsoft/retina/issues/1110
https://github.com/microsoft/retina/issues/1013
Related PR
https://github.com/microsoft/retina/pull/1108
Trying to understand whether the issue persists - or whether it is a configuration issue on my end.
When installed with Krew, it works as expected.