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 Dec 3, 2024
1 parent 1f241e3 commit d8c7798
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 d8c7798

Please sign in to comment.