Skip to content

Commit

Permalink
changed webhook verbs
Browse files Browse the repository at this point in the history
  • Loading branch information
mzeevi authored May 9, 2024
1 parent 0464aa4 commit 0edc326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/webhook/route_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const clusterIngressName = "cluster"
// +kubebuilder:rbac:groups="route.openshift.io",resources=routes,verbs=get;list;watch;create;update;patch
// +kubebuilder:rbac:groups="config.openshift.io",resources=ingresses,verbs=get;list;watch

// +kubebuilder:webhook:path=/mutate-v1-route,mutating=true,failurePolicy=ignore,sideEffects=None,groups=route.openshift.io,resources=routes,verbs=create;update,versions=v1,name=route.dana.io,admissionReviewVersions=v1;v1beta1
// +kubebuilder:webhook:path=/mutate-v1-route,mutating=true,failurePolicy=ignore,sideEffects=None,groups=route.openshift.io,resources=routes,verbs=create,versions=v1,name=route.dana.io,admissionReviewVersions=v1;v1beta1

func (r *RouteMutator) Handle(ctx context.Context, req admission.Request) admission.Response {
logger := log.FromContext(ctx).WithName("Route").WithValues("name", req.Name)
Expand Down

0 comments on commit 0edc326

Please sign in to comment.