Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 139 for labelSelectors (0.2 sec)

  1. pkg/registry/apps/daemonset/strategy_test.go

    			map[string]string{"c": "d"},
    			field.ErrorList{
    				&field.Error{
    					Type:  field.ErrorTypeInvalid,
    					Field: field.NewPath("spec").Child("selector").String(),
    					BadValue: &metav1.LabelSelector{
    						MatchLabels:      map[string]string{"c": "d"},
    						MatchExpressions: []metav1.LabelSelectorRequirement{},
    					},
    					Detail: "field is immutable",
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/policies.go

    			return nil
    		}
    		meshCfg := krt.FetchOne(ctx, MeshConfig.AsCollection())
    		// If there are any PeerAuthentications in our cache, send our static STRICT policy
    		return &model.WorkloadAuthorization{
    			LabelSelector: model.LabelSelector{},
    			Authorization: &security.Authorization{
    				Name:      staticStrictPolicyName,
    				Namespace: meshCfg.GetRootNamespace(),
    				Scope:     security.Scope_WORKLOAD_SELECTOR,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/kube/pod_controller.go

    	podListWatch := cache.NewFilteredListWatchFromClient(cfg.Cluster.Kube().CoreV1().RESTClient(),
    		"pods",
    		cfg.Namespace.Name(),
    		func(options *metav1.ListOptions) {
    			if len(options.LabelSelector) > 0 {
    				options.LabelSelector += ","
    			}
    			options.LabelSelector += s.String()
    		})
    	q := queue.NewQueue(1 * time.Second)
    	_, informer := cache.NewInformer(podListWatch, &corev1.Pod{}, 0, controllers.EventHandler[*corev1.Pod]{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 09 02:22:47 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. manifests/charts/gateways/istio-egress/templates/_affinity.tpl

        {{- end }}
    {{- end }}
    {{- end }}
    
    {{- define "podAntiAffinityRequiredDuringScheduling" }}
        {{- range $index, $item := .podAntiAffinityLabelSelector }}
        - labelSelector:
            matchExpressions:
            - key: {{ $item.key }}
              operator: {{ $item.operator }}
              {{- if $item.values }}
              values:
              {{- $vals := split "," $item.values }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 10 21:23:08 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  5. pkg/apis/admissionregistration/v1alpha1/defaults.go

    		policy := admissionregistrationv1alpha1.Equivalent
    		obj.MatchPolicy = &policy
    	}
    	if obj.NamespaceSelector == nil {
    		selector := metav1.LabelSelector{}
    		obj.NamespaceSelector = &selector
    	}
    	if obj.ObjectSelector == nil {
    		selector := metav1.LabelSelector{}
    		obj.ObjectSelector = &selector
    	}
    }
    
    // SetDefaults_ParamRef sets defaults for ParamRef
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. pkg/apis/autoscaling/fuzzer/fuzzer.go

    			c.FuzzNoCustom(s) // fuzz self without calling this function again
    
    			// ensure we have a valid selector
    			metaSelector := &metav1.LabelSelector{}
    			c.Fuzz(metaSelector)
    			labelSelector, _ := metav1.LabelSelectorAsSelector(metaSelector)
    			s.Selector = labelSelector.String()
    		},
    		func(s *autoscaling.HorizontalPodAutoscalerSpec, c fuzz.Continue) {
    			c.FuzzNoCustom(s) // fuzz self without calling this function again
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 15 06:03:59 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  7. pkg/apis/extensions/v1beta1/defaults.go

    	labels := obj.Spec.Template.Labels
    
    	// TODO: support templates defined elsewhere when we support them in the API
    	if labels != nil {
    		if obj.Spec.Selector == nil {
    			obj.Spec.Selector = &metav1.LabelSelector{
    				MatchLabels: labels,
    			}
    		}
    		if len(obj.Labels) == 0 {
    			obj.Labels = labels
    		}
    	}
    	updateStrategy := &obj.Spec.UpdateStrategy
    	if updateStrategy.Type == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. pkg/apis/apps/fuzzer/fuzzer.go

    			}
    			if s.Spec.Selector == nil {
    				s.Spec.Selector = &metav1.LabelSelector{MatchLabels: s.Spec.Template.Labels}
    			}
    			if len(s.Labels) == 0 {
    				s.Labels = s.Spec.Template.Labels
    			}
    		},
    		func(j *apps.Deployment, c fuzz.Continue) {
    			c.FuzzNoCustom(j)
    
    			// match defaulting
    			if j.Spec.Selector == nil {
    				j.Spec.Selector = &metav1.LabelSelector{MatchLabels: j.Spec.Template.Labels}
    			}
    			if len(j.Labels) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. pkg/registry/admissionregistration/validatingwebhookconfiguration/strategy_test.go

    					Port:      443,
    				},
    			},
    			FailurePolicy:           &ignore,
    			MatchPolicy:             &exact,
    			TimeoutSeconds:          &thirty,
    			NamespaceSelector:       &metav1.LabelSelector{},
    			ObjectSelector:          &metav1.LabelSelector{},
    			SideEffects:             &none,
    			AdmissionReviewVersions: []string{"v1beta1"},
    		}},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 06 07:06:02 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.ListOptions.yaml

    allowWatchBookmarks: true
    apiVersion: v1
    continue: continueValue
    fieldSelector: fieldSelectorValue
    kind: ListOptions
    labelSelector: labelSelectorValue
    limit: 7
    resourceVersion: resourceVersionValue
    resourceVersionMatch: resourceVersionMatchValue
    sendInitialEvents: true
    timeoutSeconds: 5
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 300 bytes
    - Viewed (0)
Back to top