Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,540 for namespace_b (0.24 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go

    }
    
    func BenchmarkMatcher(b *testing.B) {
    	allScopes := v1.AllScopes
    	equivalentMatch := v1.Equivalent
    
    	namespace1Labels := map[string]string{"ns": "ns1"}
    	namespace1 := corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:   "ns1",
    			Labels: namespace1Labels,
    		},
    	}
    	namespaceLister := fakeNamespaceLister{map[string]*corev1.Namespace{"ns": &namespace1}}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/util/hosts_test.go

    	// FQDN, cross namespace, all namespaces scope
    	g.Expect(NewScopedFqdn("*", "other", "foo.default.svc.cluster.local")).To(Equal(ScopedFqdn("*/foo.default.svc.cluster.local")))
    
    	// short name, same namespace, local scope
    	g.Expect(NewScopedFqdn("default", "default", "foo")).To(Equal(ScopedFqdn("default/foo.default.svc.cluster.local")))
    	// short name, same namespace, all namespaces scope
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. plugin/pkg/admission/namespace/autoprovision/admission_test.go

    		t.Errorf("unexpected create namespace action")
    	}
    }
    
    func TestAdmissionWithLatentCache(t *testing.T) {
    	namespace := "test"
    	mockClient := newMockClientForTest([]string{})
    	mockClient.AddReactor("create", "namespaces", func(action core.Action) (bool, runtime.Object, error) {
    		return true, nil, errors.NewAlreadyExists(api.Resource("namespaces"), namespace)
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/testdata/delegated.yaml

        port: 80
        protocol: HTTP
        allowedRoutes:
          namespaces:
            from: Selector
            selector:
              matchLabels:
                kubernetes.io/metadata.name: banana
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: http
      namespace: apple
    spec:
      parentRefs:
      - name: gateway
        namespace: istio-system
      rules:
      - backendRefs:
        - name: httpbin-apple
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. pkg/controller/garbagecollector/graph_builder_test.go

    		},
    
    		{
    			name: "namespaced ref from namespaced child returns first if absent is sorted last",
    			deps: []*node{
    				makeNode(ns1child1, withOwners(orderedNamespacedReferences...)),
    			},
    			verifiedAbsent:    orderedNamespacedReferences[len(orderedNamespacedReferences)-1],
    			expectedAlternate: &orderedNamespacedReferences[0],
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 17 15:49:32 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  6. tests/integration/pilot/multiplecontrolplanes/main_test.go

    			namespace.Setup(&externalNS, namespace.Config{Prefix: "external", Inject: false})).
    		SetupParallel(
    			deployment.Setup(&apps, deployment.Config{
    				Namespaces: []namespace.Getter{
    					namespace.Future(&echo1NS),
    					namespace.Future(&echo2NS),
    					namespace.Future(&echo3NS),
    				},
    				ExternalNamespace: namespace.Future(&externalNS),
    			})).
    		Run()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. tests/testdata/config/none.yaml

    # isolated tests. It should be possible to also apply it to real k8s.
    
    # TODO: the IP addresses are not namespaced yet, so must be unique on the mesh (flat namespace) including in
    # ServiceEntry tests. Removing deps on ip in progress.
    ---
    # Default sidecar
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: default
      namespace: none
    spec:
      egress:
        - hosts:
            - none/*
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 22 21:13:54 UTC 2020
    - 8.8K bytes
    - Viewed (0)
  8. operator/cmd/mesh/operator-init.go

    		l.LogAndFatal(err)
    	}
    
    	// create watched namespaces
    	namespaces := strings.Split(oiArgs.common.watchedNamespaces, ",")
    	// if the namespace in the CR is provided, consider creating it too.
    	if istioNamespace != "" {
    		namespaces = append(namespaces, istioNamespace)
    	}
    	for _, ns := range namespaces {
    		if err := operatorutil.CreateNamespace(kubeClient.Kube(), ns, "", opts.DryRun); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. pkg/registry/core/namespace/storage/storage.go

    		PredicateFunc:             namespace.MatchNamespace,
    		DefaultQualifiedResource:  api.Resource("namespaces"),
    		SingularQualifiedResource: api.Resource("namespace"),
    
    		CreateStrategy:      namespace.Strategy,
    		UpdateStrategy:      namespace.Strategy,
    		DeleteStrategy:      namespace.Strategy,
    		ResetFieldsStrategy: namespace.Strategy,
    		ReturnDeletedObject: true,
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/testdata/virtualservice_conflictingmeshgatewayhosts_with_exportto.yaml

      exportTo:
      - '*' # export to all namespaces
      http:
      - route:
        - destination:
            host: productpage
    ---
    apiVersion: networking.istio.io/v1beta1
    kind: VirtualService
    metadata:
      name: productpage-d
      namespace: foo
    spec:
      hosts:
      - '*.productpage.d' # should generate an error as this conflicts with VirtualService bar/productpage-d
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 08 15:13:29 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top