Skip to content
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

fix: wrong values are assigned to input parameters of workflowtemplate. Fixes #12314 #12412

Merged

Conversation

shuangkun
Copy link
Member

Fixes #12314

We should unmarshal mergedWfByte to a new workflowspec instead of the basis of the original.

Motivation

Verification

I hava add a ut and test it e2e.

Fixes argoproj#12314

Co-authored-by: shuangkun <tsk2013uestc@163.com>
Co-authored-by: sherwinkoo29 <sherwinkoo@163.com>
Signed-off-by: shuangkun <tsk2013uestc@163.com>
@shuangkun shuangkun force-pushed the fix/TemplateArgumentsMerge branch from 32be7ae to 20eef2a Compare December 26, 2023 05:24
@juliev0 juliev0 added the prioritized-review For members of the Sustainability Effort label Jan 9, 2024
Copy link
Member

@sarabala1979 sarabala1979 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
@shuangkun thanks for your contribution

@sarabala1979 sarabala1979 self-assigned this Jan 13, 2024
@sarabala1979 sarabala1979 merged commit b290e51 into argoproj:main Jan 13, 2024
27 checks passed
isubasinghe pushed a commit to isubasinghe/argo-workflows that referenced this pull request Feb 27, 2024
argoproj#12412)

Signed-off-by: shuangkun <tsk2013uestc@163.com>
Co-authored-by: sherwinkoo29 <sherwinkoo@163.com>
isubasinghe pushed a commit to isubasinghe/argo-workflows that referenced this pull request Feb 27, 2024
argoproj#12412)

Signed-off-by: shuangkun <tsk2013uestc@163.com>
Co-authored-by: sherwinkoo29 <sherwinkoo@163.com>
isubasinghe pushed a commit to isubasinghe/argo-workflows that referenced this pull request Feb 27, 2024
argoproj#12412)

Signed-off-by: shuangkun <tsk2013uestc@163.com>
Co-authored-by: sherwinkoo29 <sherwinkoo@163.com>
isubasinghe pushed a commit to isubasinghe/argo-workflows that referenced this pull request Feb 28, 2024
argoproj#12412)

Signed-off-by: shuangkun <tsk2013uestc@163.com>
Co-authored-by: sherwinkoo29 <sherwinkoo@163.com>
Signed-off-by: Isitha Subasinghe <isubasinghe@student.unimelb.edu.au>
isubasinghe pushed a commit to isubasinghe/argo-workflows that referenced this pull request Mar 12, 2024
argoproj#12412)

Signed-off-by: shuangkun <tsk2013uestc@163.com>
Co-authored-by: sherwinkoo29 <sherwinkoo@163.com>
isubasinghe pushed a commit to isubasinghe/argo-workflows that referenced this pull request May 6, 2024
argoproj#12412)

Signed-off-by: shuangkun <tsk2013uestc@163.com>
Co-authored-by: sherwinkoo29 <sherwinkoo@163.com>
isubasinghe pushed a commit to isubasinghe/argo-workflows that referenced this pull request May 7, 2024
argoproj#12412)

Signed-off-by: shuangkun <tsk2013uestc@163.com>
Co-authored-by: sherwinkoo29 <sherwinkoo@163.com>
@agilgur5 agilgur5 added this to the v3.4.x patches milestone May 22, 2024
@agilgur5 agilgur5 changed the title fix: wrong values are assigned to input parameters of workflowtemplat… fix: wrong values are assigned to input parameters of workflowtemplate. Fixes #12314 Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/controller Controller issues, panics area/workflow-templates prioritized-review For members of the Sustainability Effort
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong values are assigned to input parameters of WorkflowTemplate
4 participants