Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 590 for labelSelector (0.3 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/kubelet/clustertrustbundle/clustertrustbundle_manager_test.go

    	informerFactory.Start(ctx.Done())
    	if !cache.WaitForCacheSync(ctx.Done(), ctbInformer.Informer().HasSynced) {
    		t.Fatalf("Timed out waiting for informer to sync")
    	}
    
    	t.Run("big labelselector should cause error", func(t *testing.T) {
    		longString := strings.Builder{}
    		for i := 0; i < 63; i++ {
    			longString.WriteString("v")
    		}
    		matchLabels := map[string]string{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go

    	GetMatchPolicy() *v1.MatchPolicyType
    	// GetNamespaceSelector gets the webhook NamespaceSelector field.
    	GetNamespaceSelector() *metav1.LabelSelector
    	// GetObjectSelector gets the webhook ObjectSelector field.
    	GetObjectSelector() *metav1.LabelSelector
    	// GetSideEffects gets the webhook SideEffects field.
    	GetSideEffects() *v1.SideEffectClass
    	// GetTimeoutSeconds gets the webhook TimeoutSeconds field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. pkg/quota/v1/evaluator/core/pods_test.go

    					Affinity: &api.Affinity{
    						PodAffinity: &api.PodAffinity{
    							RequiredDuringSchedulingIgnoredDuringExecution: []api.PodAffinityTerm{
    								{LabelSelector: &metav1.LabelSelector{}, Namespaces: []string{"ns1"}, NamespaceSelector: &metav1.LabelSelector{}},
    							},
    						},
    					},
    				},
    			},
    			wantSelectors: []corev1.ScopedResourceSelectorRequirement{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    			},
    		},
    		{
    			name: "pod with authz",
    			inputs: []any{
    				model.WorkloadAuthorization{
    					LabelSelector: model.NewSelector(map[string]string{"app": "foo"}),
    					Authorization: &security.Authorization{Name: "wrong-ns", Namespace: "not-ns"},
    				},
    				model.WorkloadAuthorization{
    					LabelSelector: model.NewSelector(map[string]string{"app": "foo"}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/pkg/resource/builder.go

    	}
    
    	mappings, err := b.resourceMappings()
    	if err != nil {
    		result.err = err
    		return result
    	}
    
    	var labelSelector, fieldSelector string
    	if b.labelSelector != nil {
    		labelSelector = *b.labelSelector
    	}
    	if b.fieldSelector != nil {
    		fieldSelector = *b.fieldSelector
    	}
    
    	visitors := []Visitor{}
    	for _, mapping := range mappings {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 37.2K bytes
    - Viewed (0)
Back to top