mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-22 06:59:03 +00:00
The package "k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil" is used for a couple of function calls: - pkiutil.NewCertAndKey() to generate a cert/key pair - pkiutil.WriteCertAndKey() to write the pair to disk Unroll and simplify the functions to obtain the same functionality while removing the cmd/kubeadm dependency.