Skip to content

Commit

Permalink
fix(webhook): expecting leading slash
Browse files Browse the repository at this point in the history
Signed-off-by: Dario Tranchitella <[email protected]>
  • Loading branch information
prometherion committed Apr 18, 2024
1 parent 0e57b32 commit 1311220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/webhook/routes/ds_secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1311220

Please sign in to comment.