From 3ef72abe156320eb6c4e95e9d7e23bd55d3768fb Mon Sep 17 00:00:00 2001 From: pjchristmas Date: Fri, 3 Nov 2023 09:20:30 -0500 Subject: [PATCH] Update serviceaccount.yaml Was getting 403 error creating new k8 pods where it attempts to delete the pre-start config: self.core_client.delete_namespaced_config_map(f'{name}-pre-start', self.namespace) --- charts/mageai/templates/serviceaccount.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/mageai/templates/serviceaccount.yaml b/charts/mageai/templates/serviceaccount.yaml index d015602..34c9986 100644 --- a/charts/mageai/templates/serviceaccount.yaml +++ b/charts/mageai/templates/serviceaccount.yaml @@ -44,7 +44,7 @@ metadata: name: {{ include "mageai.fullname" . }}-workspace-manager rules: - apiGroups: ["", "networking.k8s.io", "apps"] # "" indicates the core API group - resources: ["nodes", "persistentvolumeclaims", "services", "statefulsets", "ingresses"] + resources: ["nodes", "persistentvolumeclaims", "services", "statefulsets", "ingresses", "configmaps"] verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] ---