Documentation ¶
Index ¶
- func CreatePKIAssets(cfg *kubeadmapi.MasterConfiguration) error
- func NewCmdCerts() *cobra.Command
- func NewCmdClientCerts(out io.Writer) *cobra.Command
- func NewCmdKubeConfig(out io.Writer) *cobra.Command
- func NewCmdPhase(out io.Writer) *cobra.Command
- func NewCmdPreFlight() *cobra.Command
- func NewCmdPreFlightMaster() *cobra.Command
- func NewCmdPreFlightNode() *cobra.Command
- func NewCmdSelfhosting() *cobra.Command
- func NewCmdToken(out io.Writer) *cobra.Command
- func RunCreateWithClientCerts(out io.Writer, config *kubeconfigphase.BuildConfigProperties) error
- func RunCreateWithToken(out io.Writer, config *kubeconfigphase.BuildConfigProperties) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePKIAssets ¶
func CreatePKIAssets(cfg *kubeadmapi.MasterConfiguration) error
CreatePKIAssets will create and write to disk all PKI assets necessary to establish the control plane. Please note that this action is a bulk action calling all the atomic certphase actions
func NewCmdCerts ¶
func NewCmdPreFlight ¶ added in v1.8.0
func NewCmdPreFlightMaster ¶ added in v1.8.0
func NewCmdPreFlightNode ¶ added in v1.8.0
func NewCmdSelfhosting ¶ added in v1.8.0
NewCmdSelfhosting returns the self-hosting Cobra command
func RunCreateWithClientCerts ¶
func RunCreateWithClientCerts(out io.Writer, config *kubeconfigphase.BuildConfigProperties) error
RunCreateWithClientCerts generates a kubeconfig file from with client certs as the authentication mechanism
func RunCreateWithToken ¶
func RunCreateWithToken(out io.Writer, config *kubeconfigphase.BuildConfigProperties) error
RunCreateWithToken generates a kubeconfig file from with a token as the authentication mechanism
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.