File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -50,12 +50,12 @@ func (p *createWebhookSubcommand) UpdateContext(ctx *plugin.Context) {
50
50
ctx .Description = `Scaffold a webhook for an API resource. You can choose to scaffold defaulting,
51
51
validating and (or) conversion webhooks.
52
52
`
53
- ctx .Examples = fmt .Sprintf (` # Create defaulting and validating webhooks for CRD of group crew , version v1
54
- # and kind FirstMate .
55
- %s create webhook --group crew --version v1 --kind FirstMate --defaulting --programmatic-validation
53
+ ctx .Examples = fmt .Sprintf (` # Create defaulting and validating webhooks for CRD of group ship , version v1beta1
54
+ # and kind Frigate .
55
+ %s create webhook --group ship --version v1beta1 --kind Frigate --defaulting --programmatic-validation
56
56
57
- # Create conversion webhook for CRD of group crew , version v1 and kind FirstMate .
58
- %s create webhook --group crew --version v1 --kind FirstMate --conversion
57
+ # Create conversion webhook for CRD of group shio , version v1beta1 and kind Frigate .
58
+ %s create webhook --group ship --version v1beta1 --kind Frigate --conversion
59
59
` ,
60
60
ctx .CommandName , ctx .CommandName )
61
61
Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ func (p *createWebhookSubcommand) UpdateContext(ctx *plugin.Context) {
57
57
ctx .Description = `Scaffold a webhook for an API resource. You can choose to scaffold defaulting,
58
58
validating and (or) conversion webhooks.
59
59
`
60
- ctx .Examples = fmt .Sprintf (` # Create defaulting and validating webhooks for CRD of group crew , version v1
61
- # and kind FirstMate .
62
- %s create webhook --group crew --version v1 --kind FirstMate --defaulting --programmatic-validation
60
+ ctx .Examples = fmt .Sprintf (` # Create defaulting and validating webhooks for CRD of group ship , version v1beta1
61
+ # and kind Frigate .
62
+ %s create webhook --group ship --version v1beta1 --kind Frigate --defaulting --programmatic-validation
63
63
64
- # Create conversion webhook for CRD of group crew , version v1 and kind FirstMate .
65
- %s create webhook --group crew --version v1 --kind FirstMate --conversion
64
+ # Create conversion webhook for CRD of group ship , version v1beta1 and kind Frigate .
65
+ %s create webhook --group ship --version v1beta1 --kind Frigate --conversion
66
66
` ,
67
67
ctx .CommandName , ctx .CommandName )
68
68
You can’t perform that action at this time.
0 commit comments