- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for validateFieldAllowList (0.18 sec)
-
pkg/apis/core/validation/validation.go
// but then adding a new one to ObjectMeta wouldn't be checked // unless this code gets updated. Instead, we ensure that // only allowed fields are set via reflection. allErrs = append(allErrs, validateFieldAllowList(*objMeta, allowedTemplateObjectMetaFields, "cannot be set", fldPath)...) return allErrs } var allowedTemplateObjectMetaFields = map[string]bool{ "Annotations": true, "Labels": true, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0)