Skip to content

Commit

Permalink
Merge pull request #114 from appuio/register-invitation-webhook
Browse files Browse the repository at this point in the history
Register Invitation validation webhook 🤦‍♀️
  • Loading branch information
bastjan authored Mar 3, 2023
2 parents 66a465b + 2a642b0 commit af5cae1
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 af5cae1

Please sign in to comment.