Skip to content

Commit

Permalink
chore: improve create pki help messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ralgozino committed Aug 19, 2024
1 parent 8716d58 commit 1b58915
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/create/pki.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ func NewPKICmd() *cobra.Command {

pkiCmd := &cobra.Command{
Use: "pki",
Short: "Creates the Public Key infrastructure files needed.",
Long: `Creates the Public Key infrastructure files needed (CA, certificates, keys, etc.) by a Kubernetes cluster and its etcd database.
You can limit the creation of the PKI to just etcd or just Kubernetes using the flags, if not specified the command will create the PKI for both of them.`,
Short: "Creates the Public Key Infrastructure files needed for an on-premises cluster.",
Long: `Creates the Public Key Infrastructure files needed (CA, certificates, keys, etc.) by a Kubernetes cluster and its etcd database.
You can limit the creation of the PKI to just etcd or just Kubernetes using the flags, if not specified the command will create the PKI for both of them.`,
PreRun: func(cmd *cobra.Command, _ []string) {
cmdEvent = analytics.NewCommandEvent(cobrax.GetFullname(cmd))

Expand Down

0 comments on commit 1b58915

Please sign in to comment.