copycerts

package
v1.30.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 24 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCertificateKey

func CreateCertificateKey() (string, error)

CreateCertificateKey returns a cryptographically secure random key

func DownloadCerts

func DownloadCerts(client clientset.Interface, cfg *kubeadmapi.InitConfiguration, key string) error

DownloadCerts downloads the certificates needed to join a new control plane.

func UploadCerts

func UploadCerts(client clientset.Interface, cfg *kubeadmapi.InitConfiguration, key string) error

UploadCerts save certs needs to join a new control-plane on kubeadm-certs sercret.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL