Skip to content

Commit

Permalink
added dmm rbac roles
Browse files Browse the repository at this point in the history
Signed-off-by: Blake Devcich <[email protected]>
  • Loading branch information
bdevcich committed Nov 8, 2023
1 parent 04ef9db commit c0a4378
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
24 changes: 24 additions & 0 deletions config/rbac/datamovementmanager_editor_role.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# permissions for end users to edit datamovementmanagers.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: datamovementmanager-editor-role
rules:
- apiGroups:
- dm.cray.hpe.com
resources:
- datamovementmanagers
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- dm.cray.hpe.com
resources:
- datamovementmanagers/status
verbs:
- get
20 changes: 20 additions & 0 deletions config/rbac/datamovementmanager_viewer_role.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# permissions for end users to view datamovementmanagers.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: datamovementmanager-viewer-role
rules:
- apiGroups:
- dm.cray.hpe.com
resources:
- datamovementmanagers
verbs:
- get
- list
- watch
- apiGroups:
- dm.cray.hpe.com
resources:
- datamovementmanagers/status
verbs:
- get

0 comments on commit c0a4378

Please sign in to comment.