Skip to content

Commit

Permalink
Grant Bicep extensiblity permission on everything (#3165)
Browse files Browse the repository at this point in the history
Fixes: #3160

This change grants Bicep extensibility maximal permissions on the
cluster. Right now we have a more limited set of permissions set which
lead to spotty limitations and failures.

This is ultimately something we'd like to review and come up with a more
nuanced policy. I'm adding this to our design queue to review.
  • Loading branch information
rynowak authored Jul 27, 2022
1 parent 204e082 commit 0fc6ce4
Showing 1 changed file with 1 addition and 34 deletions.
35 changes: 1 addition & 34 deletions deploy/Chart/charts/de/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,46 +5,13 @@ metadata:
namespace: {{ .Release.Namespace }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: de-manager-role
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
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: de-manager-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: de-manager-role
name: cluster-admin
subjects:
- kind: ServiceAccount
name: de-manager
Expand Down

0 comments on commit 0fc6ce4

Please sign in to comment.