Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 105 of 105 for matchLabels (0.32 sec)

  1. pkg/apis/storage/validation/validation_test.go

    			Name:      "csc-329803da-fdd2-42e4-af6f-7b07e7ccc305",
    			Namespace: metav1.NamespaceDefault,
    		},
    		StorageClassName: storageClassName,
    	}
    	goodTopology := metav1.LabelSelector{
    		MatchLabels: map[string]string{"foo": "bar"},
    	}
    
    	scenarios := map[string]struct {
    		isExpectedFailure bool
    		capacity          *storage.CSIStorageCapacity
    	}{
    		"good-capacity": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name: name,
    		},
    		StorageClassName: storageClassName,
    		NodeTopology:     &metav1.LabelSelector{},
    	}
    	if node != nil {
    		c.NodeTopology.MatchLabels = map[string]string{nodeLabelKey: node.Labels[nodeLabelKey]}
    	}
    	if capacityStr != "" {
    		capacityQuantity := resource.MustParse(capacityStr)
    		c.Capacity = &capacityQuantity
    	}
    	if maximumVolumeSizeStr != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/sidecar_simulation_test.go

    		return fmt.Sprintf(`apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
      name: peer-auth
      namespace: default
    spec:
      selector:
        matchLabels:
          app: foo
      mtls:
        mode: STRICT
      portLevelMtls:
        9080:
          mode: %s
    ---
    `, m)
    	}
    	sidecarSimple := func(protocol string) string {
    		return fmt.Sprintf(`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	kind config.GroupVersionKind, modify func(controllers.Object),
    ) {
    	t.Helper()
    	var sel *v1beta1.WorkloadSelector
    	if selector != nil {
    		sel = &v1beta1.WorkloadSelector{
    			MatchLabels: selector,
    		}
    	}
    	switch kind {
    	case gvk.AuthorizationPolicy:
    		pol := &clientsecurityv1beta1.AuthorizationPolicy{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      name,
    				Namespace: ns,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/conversion.go

    	if routes == nil || routes.Namespaces == nil || routes.Namespaces.Selector == nil {
    		return nil
    	}
    	res := []string{}
    	for k := range routes.Namespaces.Selector.MatchLabels {
    		res = append(res, k)
    	}
    	for _, me := range routes.Namespaces.Selector.MatchExpressions {
    		if me.Operator == metav1.LabelSelectorOpNotIn || me.Operator == metav1.LabelSelectorOpDoesNotExist {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top