-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Cannot refer to some parameters from expression template #6909
Labels
good first issue
Good for newcomers
type/bug
type/regression
Regression from previous behavior (a specific type of bug)
Comments
nomeaning777
added
type/bug
type/regression
Regression from previous behavior (a specific type of bug)
triage
labels
Oct 12, 2021
This is the cause: argo-workflows/util/expand/expand.go Line 29 in 2fd4b8a
This should probably be: if strings.HasPrefix(keys[i+1], k+".") { Should be easy to fix, would you like to submit a fix? |
alexec
added a commit
that referenced
this issue
Oct 12, 2021
Signed-off-by: Alex Collins <alex_collins@intuit.com>
alexec
added a commit
that referenced
this issue
Oct 14, 2021
sarabala1979
pushed a commit
that referenced
this issue
Oct 19, 2021
sarabala1979
pushed a commit
that referenced
this issue
Oct 20, 2021
basanthjenuhb
pushed a commit
to basanthjenuhb/argo-workflows
that referenced
this issue
Oct 23, 2021
…j#6921) Signed-off-by: Alex Collins <alex_collins@intuit.com> Signed-off-by: bjenuhb <basanth_jenuhb@intuit.com>
kriti-sc
pushed a commit
to kriti-sc/argo-workflows
that referenced
this issue
Oct 24, 2021
…j#6921) Signed-off-by: Alex Collins <alex_collins@intuit.com> Signed-off-by: kriti-sc <kathuriakriti1@gmail.com>
ilyagorban-codefresh
added a commit
to codefresh-io/argo-workflows
that referenced
this issue
Nov 10, 2021
* fix: do not delete expr tag tmpl values. Fixes argoproj#6909 (argoproj#6921) Signed-off-by: Alex Collins <alex_collins@intuit.com> * update image registry * result of `make pre-commit -B` * Retrigger CI pipeline * result of `make codegen -B STATIC_FILES=false` Co-authored-by: Alex Collins <alexec@users.noreply.github.com> Co-authored-by: Ilya Gorban <ilyagorban@Ilyas-MacBook-Pro.local>
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good first issue
Good for newcomers
type/bug
type/regression
Regression from previous behavior (a specific type of bug)
Summary
What happened/what you expected to happen?
If
PARAMETER-NAME
is a prefix of another parameter,{{=inputs.parameters.PARAMETER-NAME}}
will fail to resolve.This is probably due to
Expand
function in util/expand/expand.go.What version is it broken in?
v3.1.13
What version was it working in?
v3.1.12
Diagnostics
Workflow stdout of v3.1.13
Workflow stdout of v3.1.12
What Kubernetes provider are you using? GKE v1.20
What executor are you running? Emissary
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
The text was updated successfully, but these errors were encountered: