- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for certificatesDir (0.38 sec)
-
cmd/kubeadm/app/cmd/reset.go
} certificatesDir := kubeadmapiv1.DefaultCertificatesDir if cmd.Flags().Changed(options.CertificatesDir) { // flag is specified certificatesDir = opts.externalcfg.CertificatesDir } else if len(resetCfg.CertificatesDir) > 0 { // configured in the ResetConfiguration certificatesDir = resetCfg.CertificatesDir } else if len(initCfg.ClusterConfiguration.CertificatesDir) > 0 { // fetch from cluster
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 17 12:26:58 UTC 2023 - 11.4K bytes - Viewed (0) -
cmd/kubeadm/app/phases/etcd/local.go
{Name: "cert-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.EtcdServerCertName)}, {Name: "key-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.EtcdServerKeyName)}, {Name: "trusted-ca-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.EtcdCACertName)}, {Name: "client-cert-auth", Value: "true"}, {Name: "peer-cert-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.EtcdPeerCertName)},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 14:07:27 UTC 2024 - 13.8K bytes - Viewed (1) -
cmd/kubeadm/app/phases/controlplane/manifests.go
{Name: "client-ca-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.CACertName)}, {Name: "tls-cert-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.APIServerCertName)}, {Name: "tls-private-key-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.APIServerKeyName)}, {Name: "kubelet-client-certificate", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.APIServerKubeletClientCertName)},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Mar 03 14:43:47 UTC 2024 - 17.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certs.go
if err := validateCACert(certKeyLocation{cfg.CertificatesDir, kubeadmconstants.CACertAndKeyBaseName, "", "CA"}); err != nil { return false, err } caKeyPath := filepath.Join(cfg.CertificatesDir, kubeadmconstants.CAKeyName) if _, err := os.Stat(caKeyPath); !os.IsNotExist(err) { return false, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 05 10:17:14 UTC 2023 - 19.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/certs.go
} // 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/phases/controlplane/volumes.go
// TODO: Always mount the K8s Certificates directory to a static path inside of the container mounts.NewHostPathMount(kubeadmconstants.KubeAPIServer, kubeadmconstants.KubeCertificatesVolumeName, cfg.CertificatesDir, cfg.CertificatesDir, true, &hostPathDirectoryOrCreate) // Read-only mount for the ca certs (/etc/ssl/certs) directory
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 09:33:18 UTC 2024 - 11.3K bytes - Viewed (0) -
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/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/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/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)