copycerts

package
v1.21.13-rc.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 23 Imported by: 28

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