Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions pkg/controller/tuned/tuned_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,8 @@ func (r *ReconcileTuned) syncServiceAccount(tuned *tunedv1.Tuned) error {
return fmt.Errorf("Failed to get ServiceAccount: %v\n", err)
}
} else {
glog.V(2).Infof("Tuned ServiceAccount already exists, updating")
err = r.client.Update(context.TODO(), saManifest)
if err != nil {
return fmt.Errorf("Couldn't update tuned ServiceAccount: %v", err)
}
// Do not update service account as it leads to accumulating secrets; see BZ1714484
glog.V(2).Infof("Tuned ServiceAccount already exists, skipping update")
}

return nil
Expand Down