Hi Milosz,
I am defining the variable in the env.yaml found in /etc/lava-server on the lava server host (which is separate from the worker host). I don't believe I am mistaken in that workers can use the variables defined there? I have been using it for some time (in particular for repository-based tests) and thought it might still be possible to use it in an interactive test.
As mentioned originally, I did have some success doing this, but it appears inconsistent. I was wondering if I could somehow get it to work or if there was an alternative? I am trying to avoid using an overlay, for various reasons, but if it is totally necessary to use it then that isn't a major issue.
The images..image...headers in deploy you show, does it allow the passing of a username and password instead? As well, one or both pieces of information in the form of a variable rather than raw/hardcoded into the job?
Regards, Michael