Skip to content

Commit

Permalink
Add decoder to validate webhook configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Md Soharab Ansari <[email protected]>
  • Loading branch information
soharab-ic committed Mar 8, 2024
1 parent cdd5ccd commit db725f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ func main() {
Handler: &podwh.WebhookServer{
Client: mgr.GetClient(),
SliceInfoClient: podwh.NewWebhookClient(),
Decoder: admission.NewDecoder(mgr.GetScheme()),
},
})
}
Expand Down

0 comments on commit db725f9

Please sign in to comment.