-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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(executor): Fix resource patch when not providing flags. Fixes #5310 #5311
Conversation
Seems like a bug introduced in #4908 and a regression since v3.0.0-rc1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@book987 can you please take a look?
Signed-off-by: terrytangyuan <terrytangyuan@gmail.com>
Rebased and finally passed the CI. @alexec Thanks for making the CI more robust! I think this is ready to go unless I missed anything else. |
@alexec it seems like this fix is still not available in 3.0.1, 3.0.2, or 3.0.3. I can see the cherry-picks above, but I can't see it in the changelogs, and most importantly, we have verified the bug still exists in all three of those versions. believe we tested 3.0.4 as well but not positive. Can you give any insight into when this will be available? |
upon further looking actually.... looks like this particular code is there, but the syntax for patch must have changed from 2.X?? Are there docs on that I can't seem to find them. I'm now getting this error: - name: patch
resource:
action: patch
manifest: |
apiVersion: v1
kind: ConfigMap
metadata:
name: patch-test-{{workflow.name}}
annotations:
patched: "true" the same code works in 2.x |
It's this line here https://github.com/argoproj/argo-workflows/blob/master/workflow/executor/resource.go#L107 |
Signed-off-by: terrytangyuan terrytangyuan@gmail.com
Checklist: