Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small typo fix #5721

Merged
merged 8 commits into from
Oct 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/kops/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ var (
kops create ig --name=k8s-cluster.example.com node-example \
--role node --subnet my-subnet-name

# Create an new ssh public key called admin.
# Create a new ssh public key called admin.
kops create secret sshpublickey admin -i ~/.ssh/id_rsa.pub \
--name k8s-cluster.example.com --state s3://example.com
`))
Expand Down
2 changes: 1 addition & 1 deletion cmd/kops/create_secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var (
Create a secret`))

createSecretExample = templates.Examples(i18n.T(`
# Create an new ssh public key called admin.
# Create a new ssh public key called admin.
kops create secret sshpublickey admin -i ~/.ssh/id_rsa.pub \
--name k8s-cluster.example.com --state s3://example.com

Expand Down
2 changes: 1 addition & 1 deletion cmd/kops/create_secret_dockerconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var (
Use update to modify it, this command will only create a new entry.`))

createSecretDockerconfigExample = templates.Examples(i18n.T(`
# Create an new docker config.
# Create a new docker config.
kops create secret dockerconfig -f /path/to/docker/config.json \
--name k8s-cluster.example.com --state s3://example.com
# Replace an existing docker config secret.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kops/create_secret_sshpublickey.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var (
key is not updated by this command.`))

createSecretSSHPublicKeyExample = templates.Examples(i18n.T(`
# Create an new ssh public key called admin.
# Create a new ssh public key called admin.
kops create secret sshpublickey admin -i ~/.ssh/id_rsa.pub \
--name k8s-cluster.example.com --state s3://example.com
`))
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/kops_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ kops create -f FILENAME [flags]
kops create ig --name=k8s-cluster.example.com node-example \
--role node --subnet my-subnet-name

# Create an new ssh public key called admin.
# Create a new ssh public key called admin.
kops create secret sshpublickey admin -i ~/.ssh/id_rsa.pub \
--name k8s-cluster.example.com --state s3://example.com
```
Expand Down
4 changes: 2 additions & 2 deletions docs/cli/kops_create_secret.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Create a secret
### Examples

```
# Create an new ssh public key called admin.
# Create a new ssh public key called admin.
kops create secret sshpublickey admin -i ~/.ssh/id_rsa.pub \
--name k8s-cluster.example.com --state s3://example.com

Expand Down Expand Up @@ -50,6 +50,6 @@ Create a secret
* [kops create secret dockerconfig](kops_create_secret_dockerconfig.md) - Create a docker config.
* [kops create secret encryptionconfig](kops_create_secret_encryptionconfig.md) - Create an encryption config.
* [kops create secret keypair](kops_create_secret_keypair.md) - Create a secret keypair.
* [kops create secret sshpublickey](kops_create_secret_sshpublickey.md) - Create a ssh public key.
* [kops create secret sshpublickey](kops_create_secret_sshpublickey.md) - Create an ssh public key.
* [kops create secret weavepassword](kops_create_secret_weavepassword.md) - Create a weave encryption config.

2 changes: 1 addition & 1 deletion docs/cli/kops_create_secret_dockerconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ kops create secret dockerconfig [flags]
### Examples

```
# Create an new docker config.
# Create a new docker config.
kops create secret dockerconfig -f /path/to/docker/config.json \
--name k8s-cluster.example.com --state s3://example.com
# Replace an existing docker config secret.
Expand Down
4 changes: 2 additions & 2 deletions docs/cli/kops_create_secret_sshpublickey.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## kops create secret sshpublickey

Create a ssh public key.
Create an ssh public key.

### Synopsis

Expand All @@ -16,7 +16,7 @@ kops create secret sshpublickey [flags]
### Examples

```
# Create an new ssh public key called admin.
# Create a new ssh public key called admin.
kops create secret sshpublickey admin -i ~/.ssh/id_rsa.pub \
--name k8s-cluster.example.com --state s3://example.com
```
Expand Down