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 24, 2024
1 parent 9650406 commit d4ee350
Showing 1 changed file with 30 additions and 49 deletions.
79 changes: 30 additions & 49 deletions deploy/Chart/templates/ucp/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,52 +6,33 @@ metadata:
app.kubernetes.io/name: ucp
app.kubernetes.io/part-of: radius
rules:
- apiGroups:
- ""
resources:
- configmaps
- secrets
- services
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
resources:
- deployments
- statefulsets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ucp.dev
resources:
- resources
- queuemessages
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- api.ucp.dev
resources:
- '*'
verbs:
- '*'
- apiGroups:
- ""
resources:
- secrets
verbs:
- create
- delete
- get
- update

- apiGroups:
- ucp.dev
resources:
- resources
verbs:
- create
- delete
- get
- list
- update

- apiGroups:
- ucp.dev
resources:
- queuemessages
verbs:
- create
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand All @@ -65,6 +46,6 @@ roleRef:
kind: ClusterRole
name: ucp
subjects:
- kind: ServiceAccount
name: ucp
namespace: {{ .Release.Namespace }}
- kind: ServiceAccount
name: ucp
namespace: { { .Release.Namespace } }

0 comments on commit d4ee350

Please sign in to comment.