Merge pull request #1349 from fluxcd/fix-throttling

Avoid throttling when some Flux CRDs are not registered
pull/1453/head v0.14.0
Hidde Beydals 4 years ago committed by GitHub
commit 700cef0989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -156,6 +156,10 @@ func KubeConfig(kubeConfigPath string, kubeContext string) (*rest.Config, error)
return nil, fmt.Errorf("kubernetes configuration load failed: %w", err)
}
// avoid throttling request when some Flux CRDs are not registered
cfg.QPS = 50
cfg.Burst = 100
return cfg, nil
}

Loading…
Cancel
Save