Skip to content

Commit

Permalink
Fixed role rule for Elasticsearch (#251)
Browse files Browse the repository at this point in the history
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
  • Loading branch information
jpkrohling authored Mar 4, 2019
1 parent f233687 commit 02e1695
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
12 changes: 9 additions & 3 deletions deploy/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,19 @@ rules:
- apiGroups:
- rbac.authorization.k8s.io
resources:
- roles
- rolebindings
- roles
- rolebindings
verbs:
- '*'
- '*'
- apiGroups:
- elasticsearch.jaegertracing.io
resources:
- jaeger
verbs:
- 'get'
- apiGroups:
- logging.openshift.io
resources:
- elasticsearches
verbs:
- '*'
12 changes: 9 additions & 3 deletions test/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,19 @@ rules:
- apiGroups:
- rbac.authorization.k8s.io
resources:
- roles
- rolebindings
- roles
- rolebindings
verbs:
- '*'
- '*'
- apiGroups:
- elasticsearch.jaegertracing.io
resources:
- jaeger
verbs:
- 'get'
- apiGroups:
- logging.openshift.io
resources:
- elasticsearches
verbs:
- '*'

0 comments on commit 02e1695

Please sign in to comment.