Skip to content

Commit

Permalink
Added cluster-reader rbac for machine CRDs
Browse files Browse the repository at this point in the history
Bug 1796412 - cluster-reader is unable to view machine resources
  • Loading branch information
Danil-Grigorev committed May 12, 2020
1 parent f6f0498 commit e86770d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions config/cluster-reader-rbac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: machine-api-operator:cluster-reader
labels:
rbac.authorization.k8s.io/aggregate-to-cluster-reader: "true"
rules:
apiGroups:
- machine.openshift.io
resources:
- machinehealthchecks
- machines
- machinesets
verbs:
- get
- list
- watch

0 comments on commit e86770d

Please sign in to comment.