Skip to content

Commit

Permalink
Merge pull request #129 from k8s-infra-cherrypick-robot/cherry-pick-1…
Browse files Browse the repository at this point in the history
…27-to-release-0.4

[release-0.4] RBAC add new api's to nfd-master role
  • Loading branch information
k8s-ci-robot authored Feb 17, 2022
2 parents f0872b3 + 32da789 commit 4f4e315
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build/assets/master/0200_clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,19 @@ rules:
- get
- patch
- update
- apiGroups:
- topology.node.k8s.io
resources:
- noderesourcetopologies
verbs:
- create
- get
- update
- apiGroups:
- nfd.k8s-sigs.io
resources:
- nodefeaturerules
verbs:
- get
- list
- watch
22 changes: 22 additions & 0 deletions config/rbac/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,25 @@ patchesJSON6902:
- use
resourceNames:
- nfd-worker
- op: add
path: /rules/1
value:
apiGroups:
- nfd.k8s-sigs.io
resources:
- nodefeaturerules
verbs:
- get
- list
- watch
- op: add
path: /rules/2
value:
apiGroups:
- topology.node.k8s.io
resources:
- noderesourcetopologies
verbs:
- create
- get
- update

0 comments on commit 4f4e315

Please sign in to comment.