package copycerts
import "k8s.io/kubernetes/cmd/kubeadm/app/phases/copycerts"
Index ¶
- func CreateCertificateKey() (string, error)
- func DownloadCerts(client clientset.Interface, cfg *kubeadmapi.InitConfiguration, key string) error
- func UploadCerts(client clientset.Interface, cfg *kubeadmapi.InitConfiguration, key string) error
Functions ¶
func CreateCertificateKey ¶
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 secret.
Source Files ¶
copycerts.go testutil_umask_noop.go
- Version
- v1.33.2 (latest)
- Published
- Jun 17, 2025
- Platform
- js/wasm
- Imports
- 23 packages
- Last checked
- 1 hour ago –
Tools for package owners.