Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,134 for nameslice (0.18 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go

    	}
    
    	// try fetching the namespace-defined waypoint
    	namespace := ptr.OrEmpty[*v1.Namespace](krt.FetchOne[*v1.Namespace](ctx, Namespaces, krt.FilterKey(o.Namespace)))
    	// this probably should never be nil. How would o exist in a namespace we know nothing about? maybe edge case of starting the controller or ns delete?
    	if namespace != nil {
    		// toss isNone, we don't need to know /why/ we got nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. pkg/kube/kclient/client.go

    }
    
    // keyFunc is the internal API key function that returns "namespace"/"name" or
    // "name" if "namespace" is empty
    func keyFunc(name, namespace string) string {
    	if len(namespace) == 0 {
    		return name
    	}
    	return namespace + "/" + name
    }
    
    func ToOpts(c kube.Client, gvr schema.GroupVersionResource, filter Filter) kubetypes.InformerOptions {
    	ns := filter.Namespace
    	if !istiogvr.IsClusterScoped(gvr) && ns == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 07:14:28 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. pilot/pkg/credentials/kube/secrets_test.go

    			name:            "tls-mtls-split-crl",
    			namespace:       "default",
    			cert:            "tls-mtls-split-crl-cert",
    			key:             "tls-mtls-split-crl-key",
    			expectedCAError: "found secret, but didn't have expected keys cacert or ca.crt; found: tls.crt, tls.key",
    		},
    		{
    			name:            "generic",
    			namespace:       "wrong-namespace",
    			expectedError:   `secret wrong-namespace/generic not found`,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. pkg/proxy/config/config_test.go

    	h.lock.Lock()
    	defer h.lock.Unlock()
    	namespacedName := types.NamespacedName{Namespace: service.Namespace, Name: service.Name}
    	h.state[namespacedName] = service
    	h.sendServices()
    }
    
    func (h *ServiceHandlerMock) OnServiceUpdate(oldService, service *v1.Service) {
    	h.lock.Lock()
    	defer h.lock.Unlock()
    	namespacedName := types.NamespacedName{Namespace: service.Namespace, Name: service.Name}
    	h.state[namespacedName] = service
    	h.sendServices()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. pilot/pkg/networking/telemetry/telemetry_test.go

    			&model.ServiceAttributes{
    				ServiceRegistry: provider.Kubernetes,
    				Name:            "reviews",
    				Namespace:       "default",
    			},
    			"reviews.default",
    		},
    		{
    			"Service only pattern from different namespace",
    			"%SERVICE%",
    			"reviews.namespace1.svc.cluster.local",
    			"",
    			0,
    			&model.Port{Name: "grpc-svc", Port: 7443, Protocol: "GRPC"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 02:38:43 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. security/pkg/server/ca/node_auth_test.go

    )
    
    type pod struct {
    	name, namespace, account, node, uid string
    }
    
    func (p pod) Identity() string {
    	return spiffe.Identity{
    		TrustDomain:    "cluster.local",
    		Namespace:      p.namespace,
    		ServiceAccount: p.account,
    	}.String()
    }
    
    func TestSingleClusterNodeAuthorization(t *testing.T) {
    	allowZtunnel := map[types.NamespacedName]struct{}{
    		{Name: "ztunnel", Namespace: "istio-system"}: {},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    		w := &workloadapi.Workload{
    			Uid:                   a.generateWorkloadEntryUID(wle.Namespace, wle.Name),
    			Name:                  wle.Name,
    			Namespace:             wle.Namespace,
    			Network:               network,
    			ClusterId:             string(a.ClusterID),
    			ServiceAccount:        wle.Spec.ServiceAccount,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/informers_test.go

    	defer cancel()
    
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    		},
    	}
    	ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "test"}}
    
    	client := kube.NewFakeClient(ns, pod)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. pilot/pkg/model/extensions.go

    	wasmPlugin.ImagePullSecret = toSecretResourceName(wasmPlugin.ImagePullSecret, plugin.Namespace)
    	return &WasmPluginWrapper{
    		Name:            plugin.Name,
    		Namespace:       plugin.Namespace,
    		ResourceName:    WasmPluginResourceNamePrefix + plugin.Namespace + "." + plugin.Name,
    		WasmPlugin:      wasmPlugin,
    		ResourceVersion: plugin.ResourceVersion,
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. pilot/pkg/credentials/kube/secrets.go

    }
    
    func (s *CredentialsController) GetCertInfo(name, namespace string) (certInfo *credentials.CertInfo, err error) {
    	k8sSecret := s.secrets.Get(name, namespace)
    	if k8sSecret == nil {
    		return nil, fmt.Errorf("secret %v/%v not found", namespace, name)
    	}
    
    	return ExtractCertInfo(k8sSecret)
    }
    
    func (s *CredentialsController) GetCaCert(name, namespace string) (certInfo *credentials.CertInfo, err error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top