Skip to content

Commit

Permalink
Merge pull request #9241 from q384566678/add-describe-example
Browse files Browse the repository at this point in the history
Add example for describe secret
  • Loading branch information
k8s-ci-robot authored Jun 2, 2020
2 parents 24accb4 + deb90e4 commit af22185
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/kops/describe_secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ var (
Get additional information about cluster secrets.
`))

// TODO: what is an example??
describeSecretExample = templates.Examples(i18n.T(`
# Describe a secret
kops describe secrets admin
`))
describeSecretShort = i18n.T(`Describe a cluster secret`)
)
Expand Down
3 changes: 2 additions & 1 deletion docs/cli/kops_describe_secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ kops describe secrets [flags]
### Examples

```
# Describe a secret
kops describe secrets admin
```

### Options
Expand Down

0 comments on commit af22185

Please sign in to comment.