Skip to content

Commit

Permalink
update the permissions on maya-operator
Browse files Browse the repository at this point in the history
Signed-off-by: kmova <kiran.mova@openebs.io>
  • Loading branch information
kmova committed Mar 14, 2018
1 parent 4ba6119 commit f71f32b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion k8s/demo/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v1
metadata:
name: demo-vol1-claim
spec:
storageClassName: openebs-standalone
storageClassName: openebs-standard
accessModes:
- ReadWriteOnce
resources:
Expand Down
10 changes: 8 additions & 2 deletions k8s/openebs-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,22 @@ metadata:
rules:
- apiGroups: ["*"]
resources: ["nodes","nodes/proxy"]
verbs: ["get", "list", "watch"]
verbs: ["get","list","watch","create","update"]
- apiGroups: ["*"]
resources: ["services","pods","deployments", "events", "endpoints"]
resources: ["namespaces","services","pods","deployments", "events", "endpoints"]
verbs: ["*"]
- apiGroups: ["*"]
resources: ["persistentvolumes","persistentvolumeclaims"]
verbs: ["*"]
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses"]
verbs: ["*"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: [ "get", "list", "create" ]
- apiGroups: ["*"]
resources: ["storagepools"]
verbs: ["get", "list"]
- nonResourceURLs: ["/metrics"]
verbs: ["get"]
---
Expand Down

0 comments on commit f71f32b

Please sign in to comment.