Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,120 for nameslice (0.64 sec)

  1. pilot/pkg/config/kube/gateway/conversion_test.go

        namespace: istio-system
      to:
      - group: ""
        kind: Secret
    `,
    			expectations: []res{
    				// allow cross namespace
    				{"kubernetes-gateway://default/wildcard-example-com-cert", "istio-system", true},
    				// denied same namespace. We do not implicitly allow (in this code - higher level code does)
    				{"kubernetes-gateway://default/wildcard-example-com-cert", "default", false},
    				// denied namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  2. plugin/pkg/admission/podtolerationrestriction/admission_test.go

    		t.Errorf("error in marshalling namespace tolerations %v", namespaceTolerations)
    	}
    	namespace := &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "testNamespace",
    			Namespace: "",
    		},
    	}
    	namespace.Annotations = map[string]string{NSDefaultTolerations: string(tolerationsStr)}
    	err = informerFactory.Core().V1().Namespaces().Informer().GetStore().Update(namespace)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    			attrs:  authorizer.AttributesRecord{User: node0, ResourceRequest: true, Verb: "get", Resource: "leases", APIGroup: "coordination.k8s.io", Name: "node0", Namespace: "foo"},
    			expect: authorizer.DecisionNoOpinion,
    		},
    		{
    			name:   "disallowed create lease in namespace other than kube-node-lease - feature enabled",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe_test.go

    			client.Istio().NetworkingV1alpha3().DestinationRules(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		case *v1alpha3.Gateway:
    			client.Istio().NetworkingV1alpha3().Gateways(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		case *v1alpha3.VirtualService:
    			client.Istio().NetworkingV1alpha3().VirtualServices(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:54:01 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  5. tests/integration/pilot/analyze_test.go

    	framework.
    		NewTest(t).
    		RequiresSingleCluster().
    		Run(func(t framework.TestContext) {
    			g := NewWithT(t)
    
    			ns1 := namespace.NewOrFail(t, t, namespace.Config{
    				Prefix: "istioctl-analyze-1",
    				Inject: true,
    			})
    			ns2 := namespace.NewOrFail(t, t, namespace.Config{
    				Prefix: "istioctl-analyze-2",
    				Inject: true,
    			})
    
    			applyFileOrFail(t, ns1.Name(), gatewayFile)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/testdata/route-binding.status.yaml.golden

        parentRef:
          kind: Gateway
          name: gateway
          namespace: istio-system
          sectionName: same-namespace
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      creationTimestamp: null
      name: section-name-cross-namespace
      namespace: default
    spec: null
    status:
      parents:
      - conditions:
        - lastTransitionTime: fake
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/ingress/controller_test.go

    	vs := wait()
    	if vs.Name != ingress1.Name+"-"+"virtualservice" || vs.Namespace != ingress1.Namespace {
    		t.Errorf("received unecpected config %v/%v", vs.Namespace, vs.Name)
    	}
    	ingress.Update(&ingress2)
    	vs = wait()
    	if vs.Name != ingress1.Name+"-"+"virtualservice" || vs.Namespace != ingress1.Namespace {
    		t.Errorf("received unecpected config %v/%v", vs.Namespace, vs.Name)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 18:34:32 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go

    					log.Debugf("Switch selected namespace policy to %s.%s (%v)", cfg.Name, cfg.Namespace, cfg.CreationTimestamp)
    					namespaceCfg = cfg
    				}
    			}
    		} else if cfg.Namespace != rootNamespace {
    			if workloadCfg == nil || cfg.CreationTimestamp.Before(&workloadCfg.CreationTimestamp) {
    				log.Debugf("Switch selected workload policy to %s.%s (%v)", cfg.Name, cfg.Namespace, cfg.CreationTimestamp)
    				workloadCfg = cfg
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 16:23:36 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/dra/manager_test.go

    	podUID := "test-pod-uid"
    	namespace := "test-namespace"
    
    	claimInfo := &ClaimInfo{
    		ClaimInfoState: state.ClaimInfoState{PodUIDs: sets.New(podUID), ClaimName: claimName, Namespace: namespace},
    	}
    	manager.cache.add(claimInfo)
    	if !manager.cache.contains(claimName, namespace) {
    		t.Fatalf("failed to get claimInfo from cache for claim name %s, namespace %s: err:%v", claimName, namespace, err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:29 UTC 2024
    - 42K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/conversion_test.go

    	}
    }
    
    func TestServiceConversionWithEmptyServiceAccountsAnnotation(t *testing.T) {
    	serviceName := "service1"
    	namespace := "default"
    
    	ip := "10.0.0.1"
    
    	localSvc := corev1.Service{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:        serviceName,
    			Namespace:   namespace,
    			Annotations: map[string]string{},
    		},
    		Spec: corev1.ServiceSpec{
    			ClusterIP: ip,
    			Ports: []corev1.ServicePort{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top