Open Nizar-opt opened 1 year ago
@sarabala1979 - Do you know if the variable substitution in withParam
shown above where it's in a sprig function is supported? If not, we can add it as an enhancement. If so, we'll keep it as a bug
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is a mentoring request, please provide an update here. Thank you for your contributions.
Pre-requisites
:latest
What happened/what you expected to happen?
I wanted to use
withParam
but with a generated JSON with the help of expression & sprig functions. The below example works as expected.But.. when I started to parametrize it by replacing
sprig.untilStep(0,100,20)
withsprig.untilStep(0,100,workflow.parameters.chunk)
, It always failed with the following error:as you can see, it does not resolve the parameter
workflow.parameters.chunk
. I also triedinputs.parameters
&steps.**.outputs.result
Here is an example that would fail.
Version
v3.4.4
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Logs from the workflow controller
Logs from in your workflow's wait container