Skip to content

Commit

Permalink
Changing permissions of UCP - removing unused permissions
Browse files Browse the repository at this point in the history
Signed-off-by: ytimocin <[email protected]>
  • Loading branch information
ytimocin committed Nov 26, 2024
1 parent ae7c52a commit 03d8b00
Showing 1 changed file with 19 additions and 38 deletions.
57 changes: 19 additions & 38 deletions deploy/Chart/templates/ucp/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,51 +7,32 @@ metadata:
app.kubernetes.io/part-of: radius
rules:
- apiGroups:
- ""
- ""
resources:
- configmaps
- secrets
- services
- secrets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- create
- delete
- get
- update

- apiGroups:
- apps
- ucp.dev
resources:
- deployments
- statefulsets
- resources
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- create
- delete
- get
- list
- update

- apiGroups:
- ucp.dev
- ucp.dev
resources:
- resources
- queuemessages
- queuemessages
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- api.ucp.dev
resources:
- '*'
verbs:
- '*'
- create
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand All @@ -67,4 +48,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: ucp
namespace: {{ .Release.Namespace }}
namespace: {{ .Release.Namespace }}

0 comments on commit 03d8b00

Please sign in to comment.