Skip to content

Commit

Permalink
fix(webhook) Modify mutating webhook path to be compliant with group …
Browse files Browse the repository at this point in the history
…name

Signed-off-by: Jérémie MONSINJON <jeremie.monsinjon@gmail.com>
  • Loading branch information
jMonsinjon committed Mar 11, 2020
1 parent d51bb21 commit e712d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1alpha1/harbor_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func (r *Harbor) SetupWebhookWithManager(mgr ctrl.Manager) error {
Complete()
}

// +kubebuilder:webhook:path=/mutate-goharbor-v1alpha1-harbor,mutating=true,failurePolicy=fail,groups=goharbor.io,resources=harbors,verbs=create;update,versions=v1alpha1,name=mharbor.kb.io
// +kubebuilder:webhook:path=/mutate-goharbor-io-v1alpha1-harbor,mutating=true,failurePolicy=fail,groups=goharbor.io,resources=harbors,verbs=create;update,versions=v1alpha1,name=mharbor.kb.io

var _ webhook.Defaulter = &Harbor{}

Expand Down

0 comments on commit e712d66

Please sign in to comment.