mirror of https://github.com/kubernetes/kops.git
Fix use of pretty.Bash()
This commit is contained in:
parent
1c3947220e
commit
3613695248
|
|
@ -32,7 +32,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
trustKeypairLong = templates.LongDesc(i18n.T(`
|
trustKeypairLong = pretty.LongDesc(i18n.T(`
|
||||||
Trust one or more keypairs in a keyset.
|
Trust one or more keypairs in a keyset.
|
||||||
|
|
||||||
Trusting adds the certificates of the specified keypairs to trust
|
Trusting adds the certificates of the specified keypairs to trust
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
upgradeClusterLong = templates.LongDesc(i18n.T(`
|
upgradeClusterLong = pretty.LongDesc(i18n.T(`
|
||||||
Automates checking for and applying Kubernetes updates. This upgrades a cluster to the latest recommended
|
Automates checking for and applying Kubernetes updates. This upgrades a cluster to the latest recommended
|
||||||
production ready Kubernetes version. After this command is run, use ` + pretty.Bash("kops update cluster") + ` and ` + pretty.Bash("kops rolling-update cluster") + `
|
production ready Kubernetes version. After this command is run, use ` + pretty.Bash("kops update cluster") + ` and ` + pretty.Bash("kops rolling-update cluster") + `
|
||||||
to finish a cluster upgrade.
|
to finish a cluster upgrade.
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,8 @@ Trust a keypair.
|
||||||
|
|
||||||
Trust one or more keypairs in a keyset.
|
Trust one or more keypairs in a keyset.
|
||||||
|
|
||||||
Trusting adds the certificates of the specified keypairs to trust stores. It is the reverse of thekops distrust keypair command.
|
Trusting adds the certificates of the specified keypairs to trust
|
||||||
|
stores. It is the reverse of the `kops distrust keypair` command.
|
||||||
|
|
||||||
```
|
```
|
||||||
kops trust keypair KEYSET ID... [flags]
|
kops trust keypair KEYSET ID... [flags]
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,9 @@ Upgrade a kubernetes cluster.
|
||||||
|
|
||||||
### Synopsis
|
### Synopsis
|
||||||
|
|
||||||
Automates checking for and applying Kubernetes updates. This upgrades a cluster to the latest recommended production ready Kubernetes version. After this command is run, usekops update cluster andkops rolling-update cluster to finish a cluster upgrade.
|
Automates checking for and applying Kubernetes updates. This upgrades a cluster to the latest recommended
|
||||||
|
production ready Kubernetes version. After this command is run, use `kops update cluster` and `kops rolling-update cluster`
|
||||||
|
to finish a cluster upgrade.
|
||||||
|
|
||||||
```
|
```
|
||||||
kops upgrade cluster [CLUSTER] [flags]
|
kops upgrade cluster [CLUSTER] [flags]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue