- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for LabelSelectorHasInvalidLabelValue (0.38 sec)
-
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go
AllowInvalidLabelValueInSelector bool } // LabelSelectorHasInvalidLabelValue returns true if the given selector contains an invalid label value in a match expression. // This is useful for determining whether AllowInvalidLabelValueInSelector should be set to true when validating an update // based on existing persisted invalid values. func LabelSelectorHasInvalidLabelValue(ps *metav1.LabelSelector) bool { if ps == nil { return false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 01:52:02 UTC 2022 - 13.5K bytes - Viewed (0) -
pkg/registry/apps/daemonset/strategy.go
opts := pod.GetValidationOptionsFromPodTemplate(&newDaemonSet.Spec.Template, &oldDaemonSet.Spec.Template) opts.AllowInvalidLabelValueInSelector = opts.AllowInvalidLabelValueInSelector || metav1validation.LabelSelectorHasInvalidLabelValue(oldDaemonSet.Spec.Selector) allErrs := validation.ValidateDaemonSet(obj.(*apps.DaemonSet), opts) allErrs = append(allErrs, validation.ValidateDaemonSetUpdate(newDaemonSet, oldDaemonSet, opts)...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 01:52:02 UTC 2022 - 8.7K bytes - Viewed (0) -
pkg/registry/batch/job/strategy.go
RequirePrefixedLabels: true, } if oldJob != nil { opts.AllowInvalidLabelValueInSelector = opts.AllowInvalidLabelValueInSelector || metav1validation.LabelSelectorHasInvalidLabelValue(oldJob.Spec.Selector) // Updating node affinity, node selector and tolerations is allowed // only for suspended jobs that never started before.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 16:43:24 UTC 2024 - 18.4K bytes - Viewed (0)