- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for validateAnnotations (0.53 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope.go
} return nil } // validateAnnotations tests the following: // 1. checks if the annotation key is fully qualified // 2. The size of annotations keys + values is less than 32 kB. func validateAnnotations(annotations map[string][]byte) error { var errs []error var totalSize uint64 for k, v := range annotations {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 00:23:50 UTC 2023 - 18.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 25 16:50:20 UTC 2023 - 47.2K bytes - Viewed (0) -
pkg/apis/apps/validation/validation.go
allErrs = append(allErrs, unversionedvalidation.ValidateLabels(template.Labels, fldPath.Child("labels"))...) allErrs = append(allErrs, apivalidation.ValidateAnnotations(template.Annotations, fldPath.Child("annotations"))...) allErrs = append(allErrs, apivalidation.ValidatePodSpecificAnnotations(template.Annotations, &template.Spec, fldPath.Child("annotations"), opts)...) } return allErrs
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 06 22:11:20 UTC 2024 - 41.4K bytes - Viewed (0) -
pkg/kube/inject/inject.go
func RunTemplate(params InjectionParameters) (mergedPod *corev1.Pod, templatePod *corev1.Pod, err error) { metadata := ¶ms.pod.ObjectMeta meshConfig := params.meshConfig if err := validateAnnotations(metadata.GetAnnotations()); err != nil { log.Errorf("Injection failed due to invalid annotations: %v", err) return nil, nil, err } cluster, network := extractClusterAndNetwork(params)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 28.8K bytes - Viewed (0)