Skip to content

Commit

Permalink
rbac: add rbac for the ux backend server
Browse files Browse the repository at this point in the history
Signed-off-by: parth-gr <partharora1010@gmail.com>
  • Loading branch information
parth-gr committed Nov 11, 2024
1 parent 6490d25 commit 4f6be38
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/rbac/oauth_proxy_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ rules:
resources:
- subjectaccessreviews
verbs: ["create"]
- apiGroups:
- storage.k8s.io
resources:
- storageclasses
verbs:
- create
6 changes: 6 additions & 0 deletions deploy/csv-templates/ocs-operator.csv.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,12 @@ spec:
- subjectaccessreviews
verbs:
- create
- apiGroups:
- storage.k8s.io
resources:
- storageclasses
verbs:
- create
serviceAccountName: ux-backend-server
deployments:
- name: ocs-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,12 @@ spec:
- subjectaccessreviews
verbs:
- create
- apiGroups:
- storage.k8s.io
resources:
- storageclasses
verbs:
- create
serviceAccountName: ux-backend-server
deployments:
- name: ocs-operator
Expand Down
7 changes: 7 additions & 0 deletions deploy/ocs-operator/manifests/ux_backend_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@ rules:
verbs:
- get
- list
- update
- apiGroups:
- ceph.rook.io
resources:
- cephblockpools
verbs:
- create
7 changes: 7 additions & 0 deletions rbac/ux_backend_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@ rules:
verbs:
- get
- list
- update
- apiGroups:
- ceph.rook.io
resources:
- cephblockpools
verbs:
- create

0 comments on commit 4f6be38

Please sign in to comment.