Option not working: RETINA_AGENT_IMAGE variable doesn't work with Retina Capture Create
Describe the bug
Thanks in advance for taking a look at this. When providing the RETINA_AGENT_IMAGE variable to retina capture create, it still uses the default retina agent image instead of the provided custom image.
To Reproduce Steps to reproduce the behavior:
- Define and export the variable
RETINA_AGENT_IMAGEwith some custom image - Run the
kubectl retina capture create - Check the image being used in k8s jobs
Expected behavior
Retina cli creates k8s jobs using the custom image designated in the RETINA_AGENT_IMAGE variable
Platform (please complete the following information):
- OS: macOS 13.3.1 (22E261) + Darwin 22.4.0
- Kubernetes Version: 1.29
- Host: AWS EKS
- Retina Version: v0.0.12
Additional context Add any other context about the problem here.
@heyarb00 the RETINA_AGENT_IMAGE envvar is only used when --debug is also set, can you confirm you ran in debug?
Hi @heyarb00 , I was able to run a capture create using the RETINA_AGENT_IMAGE. As you can see it used the image which I passed, not the default one.
As @rbtr rightly mentioned, you need to pass the --debug flag when using this environment variable. Documentation on that is available here - https://retina.sh/docs/Captures/cli#debug-mode
If you encounter any further issues let me know, otherwise I will close the issue in a couple of days :)