Skip to content

Commit

Permalink
rbac: allow operator to manage events
Browse files Browse the repository at this point in the history
  • Loading branch information
ironcladlou committed Jun 6, 2019
1 parent 695c236 commit abc99f9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions manifests/00-cluster-role.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Cluster role for the operator itself.
# TODO: A lot of these should be replaced by roles in the namespaces for which
# the operator actually needs access.
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand All @@ -14,15 +16,9 @@ rules:
- services
- secrets
- pods
verbs:
- "*"

- apiGroups:
- ""
resources:
- events
verbs:
- create
- "*"

- apiGroups:
- apps
Expand Down

0 comments on commit abc99f9

Please sign in to comment.