Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsRequestEntityTooLargeError (0.37 sec)

  1. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go

    	//   1. request is so big the generic request catcher finds it
    	//   2. the content is so large that that the server sends a validation error "Too long: must have at most 1048576 characters"
    	if apierrors.IsRequestEntityTooLargeError(err) || (apierrors.IsInvalid(err) && strings.Contains(err.Error(), "Too long")) {
    		if deleteErr := configMapClient.ConfigMaps(required.Namespace).Delete(context.TODO(), required.Name, metav1.DeleteOptions{}); deleteErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top