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
5 changes: 5 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ func main() {
glog.SetLevel(glog.WARNING, "yq-lib")

restConfig := ctrl.GetConfigOrDie()
// Stop enabling client-side ratelimiter by default (https://github.com/kubernetes-sigs/controller-runtime/pull/3119)
// Previous behavior can be preserved by setting QPS 20 and Burst 30 on the rest.Config
restConfig.Burst = 30
restConfig.QPS = 20

mgr, err := ctrl.NewManager(restConfig, ctrl.Options{
Scheme: scheme,
Metrics: metricsserver.Options{
Expand Down
Loading