<#4092 [Flytekit/Pyflyte] Pyflyte register &amp; l...
# flytekit
a
#4092 [Flytekit/Pyflyte] Pyflyte register &amp; launchplan commands don't support --envs flag Issue created by PudgyPigeon With
pyflyte run
commands, you can specify a
--envs
flag and pass in a JSONified dictionary/object to propagate variables to the container running the workflows/tasks. Like so:
pyflyte run --envs '{"var1":"hello","var2":"world"}' --image etcetcetc workflowfile
We are requesting an equivalent mode of passing an --envs like dictionary in the context of running
pyflyte register
and
pyflyte launchplan --activate/deactivate
commands Context being:
pyflyte register -p flytesnacks --image imagename:1.0.5 --version v0.0.2a ./workflow.py
And/or
pyflyte launchplan -p flytesnacks -d staging launchplan-name v0.0.1a --activate
flyteorg/flyte