diff --git a/src/k8s/pkg/k8sd/api/endpoints.go b/src/k8s/pkg/k8sd/api/endpoints.go index 4ae9946e3..70eda9421 100644 --- a/src/k8s/pkg/k8sd/api/endpoints.go +++ b/src/k8s/pkg/k8sd/api/endpoints.go @@ -121,7 +121,7 @@ func (e *Endpoints) Endpoints() []rest.Endpoint { }, { Name: "KubernetesAuthWebhook", - Path: "kubernetes/auth/webhook", + Path: apiv1.ReviewKubernetesAuthTokenRPC, Post: rest.EndpointAction{Handler: e.postKubernetesAuthWebhook, AllowUntrusted: true}, }, // ClusterAPI management endpoints.