You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tumido
changed the title
[sdk] Unable to pass env variables as pipeline parameters
[sdk] Unable to pass env variables/secret names as pipeline parameters
Nov 21, 2024
tumido
changed the title
[sdk] Unable to pass env variables/secret names as pipeline parameters
[sdk] Unable to pass env variables as pipeline parameters
Nov 21, 2024
Something weird is going on with env variables and pipeline parameters in the SDK:
Environment
KFP version:
2.3
KFP SDK version:
2.10.1
Steps to reproduce
Reference a pipeline param directly:
pipeline.py
:Reference a pipeline param directly with default value
""
:pipeline.py
:Templated/indirect reference (probably missuse of the DSL:
Have a
pipeline.py
:Compiles successfully
See the IR YAML:
Submit the pipeline and see the logs. The environment variable value is
{{channel:task=;name=param;type=String;}}
and it never gets templated.Expected result
Be able to pass a pipeline parameter to environment variable of a component.
Materials and Reference
Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered: