Skip to content

Commit

Permalink
rbac: grant node/status update permission to manager and master
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Zhang <kweizh@gmail.com>
  • Loading branch information
zwpaper authored and ArangoGutierrez committed Sep 2, 2021
1 parent 7933b8f commit 33f6ce6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/assets/master/0200_clusterrole.yaml
Expand Up @@ -8,8 +8,8 @@ rules:
resources:
- pods
- nodes
- nodes/status
verbs:
- get
- patch
- update

9 changes: 8 additions & 1 deletion config/rbac/role.yaml
@@ -1,4 +1,3 @@

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down Expand Up @@ -166,6 +165,14 @@ rules:
- patch
- update
- watch
- apiGroups:
- ""
resources:
- nodes/status
verbs:
- get
- patch
- update
- apiGroups:
- ""
resources:
Expand Down

0 comments on commit 33f6ce6

Please sign in to comment.