Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 805 for ipaddresses (0.21 sec)

  1. cmd/kubeadm/app/util/certs/util.go

    // the expected IPAddresses
    func AssertCertificateHasIPAddresses(t *testing.T, cert *x509.Certificate, IPAddresses ...net.IP) {
    	for _, IPAddress := range IPAddresses {
    		found := false
    		for _, val := range cert.IPAddresses {
    			if val.Equal(IPAddress) {
    				found = true
    				break
    			}
    		}
    
    		if !found {
    			t.Errorf("cert does not contain IPAddress %s", IPAddress)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. pilot/pkg/xds/lds_test.go

    	t.Run("sidecar_none", func(t *testing.T) {
    		wd := t.TempDir()
    		adscon := s.Connect(&model.Proxy{
    			Metadata: &model.NodeMetadata{
    				InterceptionMode: model.InterceptionNone,
    				HTTP10:           "1",
    			},
    			IPAddresses:     []string{"10.11.0.1"}, // matches none.yaml s1tcp.none
    			ConfigNamespace: "none",
    		}, nil, watchAll)
    
    		err := adscon.Save(wd + "/none")
    		if err != nil {
    			t.Fatal(err)
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. pkg/registry/networking/ipaddress/storage/storage.go

    		NewListFunc:               func() runtime.Object { return &networking.IPAddressList{} },
    		DefaultQualifiedResource:  networking.Resource("ipaddresses"),
    		SingularQualifiedResource: networking.Resource("ipaddress"),
    
    		CreateStrategy: ipaddress.Strategy,
    		UpdateStrategy: ipaddress.Strategy,
    		DeleteStrategy: ipaddress.Strategy,
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 22:58:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. pilot/pkg/xds/xds_test.go

    func TestServiceScoping(t *testing.T) {
    	baseProxy := func() *model.Proxy {
    		return &model.Proxy{
    			Metadata:        &model.NodeMetadata{},
    			ID:              "app.app",
    			Type:            model.SidecarProxy,
    			IPAddresses:     []string{"1.1.1.1"},
    			ConfigNamespace: "app",
    		}
    	}
    
    	t.Run("STATIC", func(t *testing.T) {
    		s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    			ConfigString: scopeConfig,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. pilot/pkg/autoregistration/controller_test.go

    		"missing group":      {IPAddresses: []string{"1.2.3.4"}, Metadata: &model.NodeMetadata{Namespace: wgA.Namespace}},
    		"missing ip":         {Metadata: &model.NodeMetadata{Namespace: wgA.Namespace, AutoRegisterGroup: wgA.Name}},
    		"missing namespace":  {IPAddresses: []string{"1.2.3.4"}, Metadata: &model.NodeMetadata{AutoRegisterGroup: wgA.Name}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/endpoint_builder.go

    			ClusterID: c.Cluster(),
    		},
    		tlsMode:  model.GetTLSModeFromEndpointLabels(proxy.Labels),
    		nodeName: proxy.GetNodeName(),
    	}
    	var networkID network.ID
    	if len(proxy.IPAddresses) > 0 {
    		networkID = out.endpointNetwork(proxy.IPAddresses[0])
    	}
    	out.labels = labelutil.AugmentLabels(proxy.Labels, c.Cluster(), locality, out.nodeName, networkID)
    	return out
    }
    
    func (b *EndpointBuilder) buildIstioEndpoint(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. pkg/controller/servicecidrs/servicecidrs_controller.go

    			// and is the only existing one, at least one IPAddress will be
    			// orphan, block the ServiceCIDR deletion.
    			address, err := netip.ParseAddr(ip.Name)
    			if err != nil {
    				// the IPAddress object validates that the name is a valid IPAddress
    				logger.Info("[SHOULD NOT HAPPEN] unexpected error parsing IPAddress", "IPAddress", ip.Name, "error", err)
    				continue
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18K bytes
    - Viewed (0)
  8. cmd/kube-controller-manager/app/networking.go

    	go servicecidrs.NewController(
    		ctx,
    		controllerContext.InformerFactory.Networking().V1alpha1().ServiceCIDRs(),
    		controllerContext.InformerFactory.Networking().V1alpha1().IPAddresses(),
    		controllerContext.ClientBuilder.ClientOrDie("service-cidrs-controller"),
    	).Run(ctx, 5)
    	// TODO use component config
    	return nil, true, nil
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go

    		BasicConstraintsValid: true,
    		IsCA:                  true,
    	}
    
    	if ip := netutils.ParseIPSloppy(host); ip != nil {
    		template.IPAddresses = append(template.IPAddresses, ip)
    	} else {
    		template.DNSNames = append(template.DNSNames, host)
    	}
    
    	template.IPAddresses = append(template.IPAddresses, alternateIPs...)
    	template.DNSNames = append(template.DNSNames, alternateDNS...)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 15:52:39 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    		want  []model.ServiceTarget
    	}{
    		{
    			name:  "proxy with unspecified IP",
    			proxy: &model.Proxy{Metadata: &model.NodeMetadata{}, IPAddresses: nil},
    			want:  nil,
    		},
    		{
    			name:  "proxy with IP not in the registry",
    			proxy: &model.Proxy{Metadata: &model.NodeMetadata{}, IPAddresses: []string{"1.1.1.1"}},
    			want:  nil,
    		},
    		{
    			name:  "proxy with IP from the registry, 1 matching WE, but no matching Service",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
Back to top