- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DownloadCerts (0.29 sec)
-
cmd/kubeadm/app/phases/copycerts/copycerts.go
secretData[certOrKeyNameToSecretName(certName)] = cert } else { return nil, err } } return secretData, nil } // DownloadCerts downloads the certificates needed to join a new control plane. func DownloadCerts(client clientset.Interface, cfg *kubeadmapi.InitConfiguration, key string) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 01 00:15:30 UTC 2023 - 10.2K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks.go
// The boolean flag 'downloadCerts' controls whether we should skip checks on certificates because we are downloading them. // If the flag is set to true we should skip checks already executed by RunJoinNodeChecks. func RunInitNodeChecks(execer utilsexec.Interface, cfg *kubeadmapi.InitConfiguration, ignorePreflightErrors sets.Set[string], isSecondaryControlPlane bool, downloadCerts bool) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:20:55 UTC 2024 - 39.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/controlplaneprepare.go
cfg.CertificatesDir = data.CertificateWriteDir() defer func() { cfg.CertificatesDir = certsDir }() client, err := bootstrapClient(data) if err != nil { return err } if err := copycerts.DownloadCerts(client, cfg, data.CertificateKey()); err != nil { return errors.Wrap(err, "error downloading certs") } return nil } func runControlPlanePrepareCertsPhaseLocal(c workflow.RunData) error {
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/phases/copycerts/copycerts_test.go
t.Fatalf("error creating PKI assets: %v", err) } kubeadmCertsSecret := createKubeadmCertsSecret(t, initConfiguration, secretKey) cs := fakeclient.NewSimpleClientset(kubeadmCertsSecret) if err := DownloadCerts(cs, initForDownloadConfiguration, secretKey); err != nil { t.Fatalf("error downloading certs: %v", err) } const keyFileMode = 0600 const certFileMode = 0644
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 01 00:15:30 UTC 2023 - 9.1K bytes - Viewed (0)