Hi ClumsyElephant70
extra_docker_shell_script: ["export SECRET=SECRET", ]
I think ${SECRET}
will not get resolved you have to specifically have text value there.
That said it is a good idea to resolve it if possible, wdyt?
I can figure out a way to resolve it, but is there any other way to get env vars / any value or secret from the host to the docker of a task?
but is there any other way to get env vars / any value or secret from the host to the docker of a task?
if this is docker -e/--env as argument would do the same-e VAR=somevalue
but this would be still part of the clearml.conf right? I would prefer a way around clearml.conf to avoid resolving the variables
but this would be still part of the clearml.conf right?
You can pass it per Task , also you can configure the agent to always pass it add this env.
https://github.com/allegroai/clearml-agent/blob/5a080798cb4292e198948fbe16cba70136cb6bdf/docs/clearml.conf#L137
I like this approach more but it still requires resolved environment variables inside the clearml.conf
I like this approach more but it still requires resolved environment variables inside the clearml.conf
Yes 😞 maybe this is a feature request ?