Skip to content

Commit

Permalink
Fix cert RBAC issue found by @ajaegle
Browse files Browse the repository at this point in the history
Thanks to @ajaegle for noticing this. The Operator needs to be
tested in-cluster, since local testing with Go gives admin RBAC
by default.

Ref: #6

Signed-off-by: Alex Ellis <[email protected]>
  • Loading branch information
alexellis committed Jul 1, 2019
1 parent 86314ca commit 7faae14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions artifacts/operator-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ rules:
- apiGroups: [""]
resources: ["events"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
- apiGroups: ["certmanager.k8s.io"]
resources: ["certificates"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down

0 comments on commit 7faae14

Please sign in to comment.