Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for certSANs (0.13 sec)

  1. cmd/kubeadm/app/util/config/common_test.go

    				APIServer: kubeadmapiv1.APIServer{
    					CertSANs: test.in,
    				},
    			}
    
    			LowercaseSANs(cfg.APIServer.CertSANs)
    
    			if len(cfg.APIServer.CertSANs) != len(test.out) {
    				t.Fatalf("expected %d elements, got %d", len(test.out), len(cfg.APIServer.CertSANs))
    			}
    
    			for i, expected := range test.out {
    				if cfg.APIServer.CertSANs[i] != expected {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/apis/kubeadm/v1beta3/zz_generated.conversion.go

    	if err := Convert_v1beta3_ControlPlaneComponent_To_kubeadm_ControlPlaneComponent(&in.ControlPlaneComponent, &out.ControlPlaneComponent, s); err != nil {
    		return err
    	}
    	out.CertSANs = *(*[]string)(unsafe.Pointer(&in.CertSANs))
    	out.TimeoutForControlPlane = (*v1.Duration)(unsafe.Pointer(in.TimeoutForControlPlane))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go

    func (in *APIServer) DeepCopyInto(out *APIServer) {
    	*out = *in
    	in.ControlPlaneComponent.DeepCopyInto(&out.ControlPlaneComponent)
    	if in.CertSANs != nil {
    		in, out := &in.CertSANs, &out.CertSANs
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.TimeoutForControlPlane != nil {
    		in, out := &in.TimeoutForControlPlane, &out.TimeoutForControlPlane
    		*out = new(v1.Duration)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    }
    
    // APIServer holds settings necessary for API server deployments in the cluster
    type APIServer struct {
    	ControlPlaneComponent `json:",inline"`
    
    	// CertSANs sets extra Subject Alternative Names for the API Server signing cert.
    	// +optional
    	CertSANs []string `json:"certSANs,omitempty"`
    
    	// TimeoutForControlPlane controls the timeout that we use for API server to appear
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.deepcopy.go

    func (in *APIServer) DeepCopyInto(out *APIServer) {
    	*out = *in
    	in.ControlPlaneComponent.DeepCopyInto(&out.ControlPlaneComponent)
    	if in.CertSANs != nil {
    		in, out := &in.CertSANs, &out.CertSANs
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    }
    
    // APIServer holds settings necessary for API server deployments in the cluster
    type APIServer struct {
    	ControlPlaneComponent `json:",inline"`
    
    	// CertSANs sets extra Subject Alternative Names for the API Server signing cert.
    	// +optional
    	CertSANs []string `json:"certSANs,omitempty"`
    }
    
    // DNS defines the DNS addon that should be used in the cluster
    type DNS struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    					ControlPlaneEndpoint: "api.k8s.io:6443",
    					Networking:           kubeadmapi.Networking{ServiceSubnet: "10.96.0.0/12", DNSDomain: "cluster.local"},
    					APIServer: kubeadmapi.APIServer{
    						CertSANs: []string{"10.1.245.94", "10.1.245.95", "1.2.3.L", "invalid,commas,in,DNS"},
    					},
    				},
    				NodeRegistration: kubeadmapi.NodeRegistrationOptions{Name: "valid-hostname"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go

    	if err := Convert_v1beta4_ControlPlaneComponent_To_kubeadm_ControlPlaneComponent(&in.ControlPlaneComponent, &out.ControlPlaneComponent, s); err != nil {
    		return err
    	}
    	out.CertSANs = *(*[]string)(unsafe.Pointer(&in.CertSANs))
    	return nil
    }
    
    // Convert_v1beta4_APIServer_To_kubeadm_APIServer is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/init.go

    	flagSet.StringVar(
    		&cfg.CertificatesDir, options.CertificatesDir, cfg.CertificatesDir,
    		`The path where to save and store the certificates.`,
    	)
    	flagSet.StringSliceVar(
    		&cfg.APIServer.CertSANs, options.APIServerCertSANs, cfg.APIServer.CertSANs,
    		`Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names.`,
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 03:37:05 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/types.go

    	ExtraEnvs []EnvVar
    }
    
    // APIServer holds settings necessary for API server deployments in the cluster
    type APIServer struct {
    	ControlPlaneComponent
    
    	// CertSANs sets extra Subject Alternative Names for the API Server signing cert.
    	CertSANs []string
    
    	// TimeoutForControlPlane controls the timeout that we use for API server to appear
    	TimeoutForControlPlane *metav1.Duration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top