Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for totalTime (0.41 sec)

  1. pkg/apis/core/validation/validation.go

    	dataPath := field.NewPath("data")
    	totalSize := 0
    	for key, value := range secret.Data {
    		for _, msg := range validation.IsConfigMapKey(key) {
    			allErrs = append(allErrs, field.Invalid(dataPath.Key(key), key, msg))
    		}
    		totalSize += len(value)
    	}
    	if totalSize > core.MaxSecretSize {
    		allErrs = append(allErrs, field.TooLong(dataPath, "", core.MaxSecretSize))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top