-
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: Resource version incorrectly overridden for wfInformer list requests. Fixes #11948 #12133
Conversation
…ests. Fixes #11948 Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
@@ -817,7 +817,7 @@ func (wfc *WorkflowController) enqueueWfFromPodLabel(obj interface{}) error { | |||
return nil | |||
} | |||
|
|||
func (wfc *WorkflowController) tweakListOptions(options *metav1.ListOptions) { | |||
func (wfc *WorkflowController) tweakListRequestListOptions(options *metav1.ListOptions) { |
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.
Possibly: keep them in step with
tweakWatchRequestListOptions(options)
options.ResourceVersion = ""
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.
I don't have a preference here.
Pending test results confirmation from the community so I am converting this to draft: #11948 (comment) |
I compared the watch API call in the controller logs from before the change v3.4.6:
and after (v3.4.11):
Before, in v3.4.6, K8s would set So I think the fix may work. |
…ests. Fixes argoproj#11948 (argoproj#12133) Signed-off-by: Dillen Padhiar <dillen_padhiar@intuit.com>
Potential fix for #11948