Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for certSANs (0.16 sec)

  1. 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)
  2. cmd/kubeadm/app/apis/kubeadm/v1beta3/doc.go

    //	    authorization-mode: "Node,RBAC"
    //	  extraVolumes:
    //	  - name: "some-volume"
    //	    hostPath: "/etc/some-path"
    //	    mountPath: "/etc/some-pod-path"
    //	    readOnly: false
    //	    pathType: File
    //	  certSANs:
    //	  - "10.100.1.1"
    //	  - "ec2-10-100-0-1.compute-1.amazonaws.com"
    //	  timeoutForControlPlane: 4m0s
    //	controllerManager:
    //	  extraArgs:
    //	    "node-cidr-mask-size": "20"
    //	  extraVolumes:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 13:30:26 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. 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)
  4. cmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go

    //	    authorization-mode: "Node,RBAC"
    //	  extraVolumes:
    //	  - name: "some-volume"
    //	    hostPath: "/etc/some-path"
    //	    mountPath: "/etc/some-pod-path"
    //	    readOnly: false
    //	    pathType: File
    //	  certSANs:
    //	  - "10.100.1.1"
    //	  - "ec2-10-100-0-1.compute-1.amazonaws.com"
    //	  timeoutForControlPlane: 4m0s
    //	controllerManager:
    //	  extraArgs:
    //	    "node-cidr-mask-size": "20"
    //	  extraVolumes:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    func ValidateAPIServer(a *kubeadm.APIServer, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	allErrs = append(allErrs, ValidateCertSANs(a.CertSANs, fldPath.Child("certSANs"))...)
    	allErrs = append(allErrs, ValidateExtraArgs(a.ExtraArgs, fldPath.Child("extraArgs"))...)
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/config/initconfiguration.go

    			cfg.ControlPlaneEndpoint = net.JoinHostPort(host, strconv.FormatInt(int64(localAPIEndpoint.BindPort), 10))
    		}
    	}
    
    	// Downcase SANs. Some domain names (like ELBs) have capitals in them.
    	LowercaseSANs(cfg.APIServer.CertSANs)
    	return nil
    }
    
    // DefaultedStaticInitConfiguration returns the internal InitConfiguration with static defaults.
    func DefaultedStaticInitConfiguration() (*kubeadmapi.InitConfiguration, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    localAPIEndpoint:
      advertiseAddress: 192.168.2.2
      bindPort: 6443
    bootstrapTokens:
    - token: ce3aa5.5ec8455bb76b379f
      ttl: 24h
    ---
    apiVersion: %[1]s
    kind: ClusterConfiguration
    
    apiServer:
      certSANs: null
      extraArgs: null
    certificatesDir: %%s
    etcd:
      local:
        dataDir: %%s
        image: ""
    imageRepository: registry.k8s.io
    kubernetesVersion: %%s
    networking:
      dnsDomain: cluster.local
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    			}
    		} else {
    			return nil, errors.Wrapf(err, "error parsing cluster controlPlaneEndpoint %q", cfg.ControlPlaneEndpoint)
    		}
    	}
    
    	appendSANsToAltNames(altNames, cfg.APIServer.CertSANs, kubeadmconstants.APIServerCertName)
    
    	return altNames, nil
    }
    
    // GetEtcdAltNames builds an AltNames object for generating the etcd server certificate.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top