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

Fix webhook command description #314

Merged
merged 1 commit into from
Jan 28, 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 docs/reference/stash.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Stash is a Kubernetes operator for restic. For more information, visit here: htt

### SEE ALSO

* [stash admission-webhook](/docs/reference/stash_admission-webhook.md) - Launch a namespace reservation API server
* [stash admission-webhook](/docs/reference/stash_admission-webhook.md) - Launch Stash admission webhook server
* [stash backup](/docs/reference/stash_backup.md) - Run Stash Backup
* [stash check](/docs/reference/stash_check.md) - Check restic backup
* [stash recover](/docs/reference/stash_recover.md) - Recover restic backup
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/stash_admission-webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ section_menu_id: reference
---
## stash admission-webhook

Launch a namespace reservation API server
Launch Stash admission webhook server

### Synopsis

Launch a namespace reservation API server
Launch Stash admission webhook server

```
stash admission-webhook [flags]
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmds/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ func NewRootCmd() *cobra.Command {
stopCh := genericapiserver.SetupSignalHandler()
cmd := server.NewCommandStartAdmissionServer(os.Stdout, os.Stderr, stopCh, &plugin.AdmissionHook{})
cmd.Use = "admission-webhook"
cmd.Long = "Launch Stash admission webhook server"
cmd.Short = cmd.Long
rootCmd.AddCommand(cmd)

return rootCmd
Expand Down