Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 546 for labelSelectors (0.51 sec)

  1. manifests/charts/gateways/istio-ingress/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)
  2. istioctl/pkg/tag/util.go

    	webhooks, err := client.AdmissionregistrationV1().MutatingWebhookConfigurations().List(ctx, metav1.ListOptions{
    		LabelSelector: label.IoIstioRev.Name,
    	})
    	if err != nil {
    		return nil, err
    	}
    	return webhooks.Items, nil
    }
    
    // GetWebhooksWithTag returns webhooks tagged with istio.io/tag=<tag>.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 17:43:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. pkg/kube/inject/webhook_test.go

    			},
    			podSpec: podSpec,
    			meta: metav1.ObjectMeta{
    				Name:      "policy-disabled-always-inject-with-labels",
    				Namespace: "test-namespace",
    				Labels:    map[string]string{"foo": "bar"},
    			},
    			want: true,
    		},
    		{
    			config: &Config{
    				Policy:              InjectionPolicyEnabled,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 39K bytes
    - Viewed (1)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top