-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Templating args passed to klio-cli are not transmitted to klioexec #175
Comments
Ok looking at it further it looks like /usr/src/config/materialized_config.yaml correctly resolve the secrets. But why is the preprocessing step running again in klioexec ? |
Klioexec is trying to process the build time config in order to compare it with the run time config. However it is not able to process it due to the missing template args. |
Great catch; thank you! We'll dig into this. Is this a blocking issue for you or is there a workaround in the interim? |
We are not sure we want to use the template feature to pass secrets to the pipelines. I currently use a wrapper to use directly klioexec instead, and pass the the secrets through the --env-file docker parameter. However templating would still be useful to handle our different environment, so this issue is a bit problematic for us. |
Hey @pomdtr, can you include the versions of Also to verify, is the |
Our project is using the worker_harness_container_image beam option, we are not defining any setup.py. The error is triggered as soon as the klioexec command starts up. |
Full traceback:
|
@pomdtr The fix for this specific issue should be included in our latest release candidate. Would you mind giving them a try? You can get them by setting your Note that we uncovered another issue while investigating this one - basically, all |
Thanks a lot! I will check it as soon as possible :) |
Is this still an issue? |
Environment
klio*
version(s):Description of the bug
When running the klio job run command with template args:
The template args are not passed to klioexec entrypoint:
Causing the following exception
What you expected to happen
Template args should be passed to the klioexec command
How to reproduce (as minimally and precisely as possible)
Run any command involving the template args.
The text was updated successfully, but these errors were encountered: