- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for CertificateWriteDir (0.23 sec)
-
cmd/kubeadm/app/cmd/phases/init/certs.go
return certsphase.CreateServiceAccountKeyAndPublicKeyFiles(data.CertificateWriteDir(), data.Cfg().ClusterConfiguration.EncryptionAlgorithmType()) } func runCerts(c workflow.RunData) error { data, ok := c.(InitData) if !ok { return errors.New("certs phase invoked with an invalid data struct") } fmt.Printf("[certs] Using certificateDir folder %q\n", data.CertificateWriteDir()) return nil }
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/join/data.go
IgnorePreflightErrors() sets.Set[string] OutputWriter() io.Writer PatchesDir() string DryRun() bool KubeConfigDir() string KubeletDir() string ManifestDir() string CertificateWriteDir() string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 15:33:38 UTC 2024 - 1.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/controlplaneprepare.go
return err } // If we're dry-running, download certs to tmp dir, and defer to restore to the path originally specified by the user certsDir := cfg.CertificatesDir cfg.CertificatesDir = data.CertificateWriteDir() defer func() { cfg.CertificatesDir = certsDir }() client, err := bootstrapClient(data) if err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:46:34 UTC 2024 - 9.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/controlplanejoin.go
// existing one." if err := etcdphase.CreateStackedEtcdStaticPodManifestFile(client, data.ManifestDir(), data.PatchesDir(), cfg.NodeRegistration.Name, &cfg.ClusterConfiguration, &cfg.LocalAPIEndpoint, data.DryRun(), data.CertificateWriteDir()); err != nil { return errors.Wrap(err, "error creating local etcd static pod manifest file") } return nil } func runMarkControlPlanePhase(c workflow.RunData) error { data, ok := c.(JoinData)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 03:09:42 UTC 2024 - 5.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/kubelet.go
cluster := tlsBootstrapCfg.Contexts[tlsBootstrapCfg.CurrentContext].Cluster // If we're dry-running, write ca cert in tmp caPath := cfg.CACertPath if data.DryRun() { caPath = filepath.Join(data.CertificateWriteDir(), kubeadmconstants.CACertName) } if _, err := os.Stat(caPath); os.IsNotExist(err) { klog.V(1).Infof("[kubelet-start] writing CA certificate at %s", caPath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 10.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/join.go
func (j *joinData) ManifestDir() string { if j.dryRun { return j.dryRunDir } return kubeadmconstants.GetStaticPodDirectory() } // CertificateWriteDir returns the path where certs should be stored or the temporary folder path in case of DryRun. func (j *joinData) CertificateWriteDir() string { if j.dryRun { return j.dryRunDir } return j.initCfg.CertificatesDir }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 15:33:38 UTC 2024 - 25.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/init.go
func (d *initData) IgnorePreflightErrors() sets.Set[string] { return d.ignorePreflightErrors } // CertificateWriteDir returns the path to the certificate folder or the temporary folder path in case of DryRun. func (d *initData) CertificateWriteDir() string { if d.dryRun { return d.dryRunDir } return d.certificatesDir }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 17 03:37:05 UTC 2024 - 24.1K bytes - Viewed (0)