Repository: kubernetes/kubernetes (language: go)

Issue:
Prevent dueling during upgrade when `--requestheader-uid-headers` is only set on some servers
/assign stlaz
/milestone v1.33

xref: #115834 #129081

```
@stlaz / @enj, can you make sure an issue exists to track resolving dueling during upgrade when we *do* populate a default value for this in the future, and make sure that is planned for 1.33?
```

_Originally posted by @liggitt in https://github.com/kubernetes/kubernetes/issues/128986#issuecomment-2528720969_
            


Discussion / hints:
Hello @stlaz 
This Issue has not been updated for 3 weeks, so I'd like to check what's the status. If there's anything we can do, please let us know.
The code freeze is starting 02:00 UTC Friday 21st March 2025 (about 3 weeks from now). Please make sure the Issue/PR has both lgtm and approved labels before the code freeze. Thanks!

Fix patch:
diff --git a/pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go b/pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go
index 3c86b026f5920..10d45d80e5301 100644
--- a/pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go
+++ b/pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go
@@ -128,9 +128,6 @@ func NewClusterAuthenticationTrustController(requiredAuthenticationData ClusterA
 			AddFunc: func(obj interface{}) {
 				c.queue.Add(keyFn())
 			},
-			UpdateFunc: func(oldObj, newObj interface{}) {
-				c.queue.Add(keyFn())
-			},
 			DeleteFunc: func(obj interface{}) {
 				c.queue.Add(keyFn())
 			},


Test patch: