Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Commit

Permalink
Fixup rbac for v0.1.4
Browse files Browse the repository at this point in the history
Signed-off-by: Chuck Ha <chuckh@vmware.com>
  • Loading branch information
chuckha committed Jun 27, 2019
1 parent b433f80 commit 9717119
Showing 1 changed file with 11 additions and 27 deletions.
38 changes: 11 additions & 27 deletions cmd/capdctl/main.go
Expand Up @@ -1347,18 +1347,6 @@ kind: ClusterRole
metadata:
name: cluster-api-manager-role
rules:
- apiGroups:
- cluster.k8s.io
resources:
- clusters
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
Expand All @@ -1370,23 +1358,17 @@ rules:
- create
- patch
- apiGroups:
- cluster.k8s.io
- ""
resources:
- machines
- machines/status
- secrets
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- cluster.k8s.io
- ""
resources:
- machinedeployments
- machinedeployments/status
- nodes
verbs:
- get
- list
Expand All @@ -1398,8 +1380,7 @@ rules:
- apiGroups:
- cluster.k8s.io
resources:
- machinesets
- machinesets/status
- clusters
verbs:
- get
- list
Expand All @@ -1412,6 +1393,7 @@ rules:
- cluster.k8s.io
resources:
- machines
- machines/status
verbs:
- get
- list
Expand All @@ -1421,9 +1403,10 @@ rules:
- patch
- delete
- apiGroups:
- ""
- cluster.k8s.io
resources:
- nodes
- machinedeployments
- machinedeployments/status
verbs:
- get
- list
Expand All @@ -1435,7 +1418,8 @@ rules:
- apiGroups:
- cluster.k8s.io
resources:
- machines
- machinesets
- machinesets/status
verbs:
- get
- list
Expand Down

0 comments on commit 9717119

Please sign in to comment.