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 4957ab2
Showing 1 changed file with 27 additions and 62 deletions.
89 changes: 27 additions & 62 deletions deploy/Chart/templates/ucp/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,65 +6,30 @@ 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:
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: ucp
labels:
app.kubernetes.io/name: ucp
app.kubernetes.io/part-of: radius
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: ucp
subjects:
- kind: ServiceAccount
name: ucp
namespace: {{ .Release.Namespace }}
- 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

0 comments on commit 4957ab2

Please sign in to comment.