From 1311220b9411ba11ce88d4f5861de1dcc5a6539e Mon Sep 17 00:00:00 2001 From: Dario Tranchitella Date: Thu, 18 Apr 2024 10:06:10 +0200 Subject: [PATCH] fix(webhook): expecting leading slash Signed-off-by: Dario Tranchitella --- internal/webhook/routes/ds_secrets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/webhook/routes/ds_secrets.go b/internal/webhook/routes/ds_secrets.go index 4e338212..c9b3b88f 100644 --- a/internal/webhook/routes/ds_secrets.go +++ b/internal/webhook/routes/ds_secrets.go @@ -13,7 +13,7 @@ import ( type DataStoreSecrets struct{} func (d DataStoreSecrets) GetPath() string { - return "validate--v1-secret" + return "/validate--v1-secret" } func (d DataStoreSecrets) GetObject() runtime.Object {