Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 115 for LabelSelector (0.46 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. staging/src/k8s.io/api/testdata/HEAD/core.v1.ListOptions.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:25 UTC 2023
    - 376 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/scheme/register_test.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    )
    
    func TestListOptions(t *testing.T) {
    	// verify round trip conversion
    	ten := int64(10)
    	in := &metav1.ListOptions{
    		LabelSelector:   "a=1",
    		FieldSelector:   "b=1",
    		ResourceVersion: "10",
    		TimeoutSeconds:  &ten,
    		Watch:           true,
    	}
    	out := &metainternalversion.ListOptions{}
    	if err := scheme.Convert(in, out, nil); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. pkg/registry/admissionregistration/validatingadmissionpolicy/strategy_test.go

    					r := admissionregistration.MatchPolicyType("Exact")
    					return &r
    				}(),
    				ObjectSelector: &metav1.LabelSelector{
    					MatchLabels: map[string]string{"a": "b"},
    				},
    				NamespaceSelector: &metav1.LabelSelector{
    					MatchLabels: map[string]string{"a": "b"},
    				},
    				ResourceRules: []admissionregistration.NamedRuleWithOperations{
    					{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 21:29:56 UTC 2022
    - 3K bytes
    - Viewed (0)
  8. hack/testdata/rollingupdate-daemonset.yaml

      template:
        metadata:
          labels:
            service: bind
        spec:
          affinity:
            podAntiAffinity:
              requiredDuringSchedulingIgnoredDuringExecution:
                - labelSelector:
                    matchExpressions:
                    - key: "service"
                      operator: "In"
                      values: ["bind"]
                  topologyKey: "kubernetes.io/hostname"
                  namespaces: []
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 735 bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.ListOptions.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 376 bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/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: Wed Mar 01 10:00:25 UTC 2023
    - 300 bytes
    - Viewed (0)
Back to top