klio_core.exceptions.KlioConfigTemplatingException thrown for klio
subcommands when templated values are used
#178
Labels
bug
Something isn't working
Environment
klio*
version(s): latest release candidates (klio-*==21.2.0rc1) and latest from master (klio-exec==0.2.2, klio-cli==1.0.5, klio-core==0.2.2)python -V
): 3.6.9docker --version
):Description of the bug
When templated values are used in
klio-job.yaml
, klio subcommands also need the templated value to be passed in (e.g. you need to runklio message publish --template templated_value=MYVALUE
) . Otherwise, aKlioConfigTemplatingException
is thrown.What you expected to happen
I expect the non-run subcommands to run correctly without the templated values being explicitly passed in.
How to reproduce (as minimally and precisely as possible)
Create a klio job:
klio job create --use-fnapi --use-defaults --job-type streaming
Add a templated value to your
klio-job.yaml
:Run any klio subcommand that isn't
klio job run
:klio message publish
,klio job create
,klio job verify
, etcYou should then see a stacktrace like this:
Anthing else we need to know?
The text was updated successfully, but these errors were encountered: