Skip to content

Commit

Permalink
Update webhook name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwin Venkatesh committed Aug 27, 2020
1 parent 5f64db4 commit c8ddcd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1alpha1/servicedefaults_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type serviceDefaultsValidator struct {
}

// Note: The path value in the below line is the path to the webhook. If it is updates, run code-gen, update subcommand/controller/command.go and the consul-helm value for the path to the webhook.
// +kubebuilder:webhook:verbs=create;update,path=/mutate-v1alpha1-servicedefaults,mutating=true,failurePolicy=fail,groups=consul.hashicorp.com,resources=servicedefaults,versions=v1alpha1,name=mservicedefaults.consul.io
// +kubebuilder:webhook:verbs=create;update,path=/mutate-v1alpha1-servicedefaults,mutating=true,failurePolicy=fail,groups=consul.hashicorp.com,resources=servicedefaults,versions=v1alpha1,name=mutate-servicedefaults.consul.hashicorp.com

func (v *serviceDefaultsValidator) Handle(ctx context.Context, req admission.Request) admission.Response {
var svcDefaults ServiceDefaults
Expand Down

0 comments on commit c8ddcd1

Please sign in to comment.