Skip to content

Commit

Permalink
Register Invitation validation webhook 🤦‍♀️
Browse files Browse the repository at this point in the history
  • Loading branch information
bastjan committed Mar 3, 2023
1 parent 66a465b commit 2a642b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ func setupManager(usernamePrefix, rolePrefix string, memberRoles []string, beRef
mgr.GetWebhookServer().Register("/validate-appuio-io-v1-user", &webhook.Admission{
Handler: &webhooks.UserValidator{},
})
mgr.GetWebhookServer().Register("/validate-user-appuio-io-v1-invitation", &webhook.Admission{
Handler: &webhooks.InvitationValidator{},
})

//+kubebuilder:scaffold:builder

Expand Down

0 comments on commit 2a642b0

Please sign in to comment.