Skip to content

Commit

Permalink
💫 Add permission to update namespace finalizer
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
  • Loading branch information
matzew committed Jun 14, 2021
1 parent 393e411 commit f97c29c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/core/roles/webhook-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ rules:
- "watch"
- "patch"

# finalizers are needed for the owner reference of the webhook
- apiGroups:
- ""
resources:
- "namespaces/finalizers"
verbs:
- "update"

# For getting our Deployment so we can decorate with ownerref.
- apiGroups:
- "apps"
Expand Down

0 comments on commit f97c29c

Please sign in to comment.