Skip to content

Commit

Permalink
Merge pull request #41 from mage-ai/dy--add_pod_exec
Browse files Browse the repository at this point in the history
[dy] Add pods/exec permission
  • Loading branch information
dy46 authored Jan 13, 2024
2 parents 4339ae4 + 35e1174 commit d98e0dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/mageai/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ rules:
- apiGroups: ["", "networking.k8s.io", "apps"] # "" indicates the core API group
resources: ["nodes", "persistentvolumeclaims", "services", "statefulsets", "statefulsets/scale", "ingresses", "configmaps"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]

- apiGroups: [""]
resources: ["pods/exec"]
verbs: ["get"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down

0 comments on commit d98e0dd

Please sign in to comment.