Skip to content

Commit 48c6f3b

Browse files
authored
Fix: Updated permissions for devtron clusterrole (#974)
* Updated permissions for devtron clusterrole * Added permissions for delete pod to devtron clusterrole
1 parent b1e274c commit 48c6f3b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

manifests/yamls/serviceaccount.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,19 @@ metadata:
209209
app.kubernetes.io/instance: devtron
210210
name: devtron
211211
rules:
212+
- apiGroups:
213+
- batch
214+
resources:
215+
- jobs
216+
- cronjobs
217+
verbs:
218+
- get
219+
- list
220+
- watch
221+
- patch
222+
- update
223+
- create
224+
- delete
212225
- apiGroups:
213226
- ""
214227
resources:
@@ -251,6 +264,14 @@ rules:
251264
- pods/exec
252265
verbs:
253266
- create
267+
- apiGroups:
268+
- ""
269+
resources:
270+
- pods
271+
verbs:
272+
- list
273+
- get
274+
- delete
254275
---
255276
apiVersion: rbac.authorization.k8s.io/v1
256277
kind: ClusterRoleBinding

0 commit comments

Comments
 (0)