diff --git a/charts/mageai/templates/serviceaccount.yaml b/charts/mageai/templates/serviceaccount.yaml index fc84e7a..990a976 100644 --- a/charts/mageai/templates/serviceaccount.yaml +++ b/charts/mageai/templates/serviceaccount.yaml @@ -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