- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 49 for CertificatesDir (0.19 sec)
-
cmd/kubeadm/app/cmd/certs.go
internalcfg.ClusterConfiguration.CertificatesDir = cfg.CertificatesDir } return internalcfg, nil } printer.Printf("[%s] Error reading configuration from the Cluster. Falling back to default configuration\n\n", logPrefix) } // Read config from --config if provided. Otherwise, use the default configuration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 19.4K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certlist.go
} // Try and load a CA Key caKey, err = pkiutil.TryLoadKeyFromDisk(ic.CertificatesDir, ca.BaseName) if err != nil { // If there's no CA key, make sure every certificate exists. for _, leaf := range leaves { cl := certKeyLocation{ pkiDir: ic.CertificatesDir, baseName: leaf.BaseName, uxName: leaf.Name, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 15.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/controlplane/manifests_test.go
defer os.RemoveAll(tmpdir) test.cfg.CertificatesDir = tmpdir if err := certs.CreatePKIAssets(test.cfg); err != nil { t.Errorf("failed creating pki assets: %v", err) } // delete ca.key and front-proxy-ca.key if test.caKeyPresent is false if !test.caKeyPresent { if err := os.Remove(filepath.Join(test.cfg.CertificatesDir, kubeadmconstants.CAKeyName)); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Mar 03 14:43:47 UTC 2024 - 48.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/certs_test.go
// auto-detection of config values at runtime. var kubeadmConfig = fmt.Sprintf(` apiVersion: %[1]s kind: ClusterConfiguration certificatesDir: %s kubernetesVersion: %s`, kubeadmapiv1.SchemeGroupVersion.String(), cfg.CertificatesDir, kubeadmconstants.MinimumControlPlaneVersion.String()) // Write the minimal kubeadm config to a file customConfigPath := kdir + "/kubeadm.conf"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 21 13:26:12 UTC 2024 - 20.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/certs.go
return nil } // if dryrunning, write certificates authority to a temporary folder (and defer restore to the path originally specified by the user) cfg := data.Cfg() cfg.CertificatesDir = data.CertificateWriteDir() defer func() { cfg.CertificatesDir = data.CertificateDir() }() // create the new certificate authority (or use existing) return certsphase.CreateCACertAndKeyFiles(ca, cfg) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 06:35:45 UTC 2024 - 9.8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/kubeconfig.go
return nil } // if dryrunning, reads certificates from a temporary folder (and defer restore to the path originally specified by the user) cfg := data.Cfg() cfg.CertificatesDir = data.CertificateWriteDir() defer func() { cfg.CertificatesDir = data.CertificateDir() }() // creates the KubeConfig file (or use existing) return kubeconfigphase.CreateKubeConfigFile(kubeConfigFileName, data.KubeConfigDir(), data.Cfg()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 26 04:36:03 UTC 2023 - 6K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go
ControlPlaneEndpoint: "api.k8s.io", CertificatesDir: pkidir, }, NodeRegistration: kubeadmapi.NodeRegistrationOptions{Name: "valid-node-name"}, }, { LocalAPIEndpoint: kubeadmapi.APIEndpoint{AdvertiseAddress: "1.2.3.4", BindPort: 1234}, ClusterConfiguration: kubeadmapi.ClusterConfiguration{ ControlPlaneEndpoint: "api.k8s.io:4321", CertificatesDir: pkidir, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:04:18 UTC 2024 - 39.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/kubeletfinalize.go
InheritFlags: []string{options.CfgPath, options.CertificatesDir, options.DryRun}, Example: kubeletFinalizePhaseExample, RunAllSiblings: true, }, { Name: "enable-client-cert-rotation", Short: "Enable kubelet client certificate rotation", InheritFlags: []string{options.CfgPath, options.CertificatesDir, options.DryRun}, Run: runKubeletFinalizeEnableClientCertRotation,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 10:54:51 UTC 2024 - 6.8K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults.go
obj.Networking.ServiceSubnet = DefaultServicesSubnet } if obj.Networking.DNSDomain == "" { obj.Networking.DNSDomain = DefaultServiceDNSDomain } if obj.CertificatesDir == "" { obj.CertificatesDir = DefaultCertificatesDir } if obj.ImageRepository == "" { obj.ImageRepository = DefaultImageRepository } if obj.ClusterName == "" { obj.ClusterName = DefaultClusterName }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/init.go
`Specify a stable IP address or DNS name for the control plane.`, ) options.AddKubernetesVersionFlag(flagSet, &cfg.KubernetesVersion) 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,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 17 03:37:05 UTC 2024 - 24.1K bytes - Viewed (0)