Allow the webhook to patch namespaces (rbac)
Needed for knative/pkg#1208
@@ -34,12 +34,14 @@ rules:
- ""
resources:
- "secrets"
+ - "namespaces"
verbs:
- "get"
- "create"
- "update"
- "list"
- "watch"
+ - "patch"
# For getting our Deployment so we can decorate with ownerref.
- apiGroups:
