Skip to content

Commit

Permalink
fix(webhook install): use correct RBAC for mutating webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
buehler committed Aug 26, 2021
1 parent 848dfe9 commit 4d0708d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/KubeOps/Operator/Rbac/RbacBuilder.cs
Expand Up @@ -56,7 +56,8 @@ public V1ClusterRole BuildManagerRbac()
{
new EntityRbacAttribute(
typeof(V1Service),
typeof(V1ValidatingWebhookConfiguration))
typeof(V1ValidatingWebhookConfiguration),
typeof(V1MutatingWebhookConfiguration))
{
Verbs = RbacVerb.Get | RbacVerb.Create | RbacVerb.Update | RbacVerb.Patch | RbacVerb.Delete,
},
Expand Down

0 comments on commit 4d0708d

Please sign in to comment.