From 95fd23af54a3f7ed5caa2796e7a1fa710b3f15ac Mon Sep 17 00:00:00 2001 From: MoritzWeber Date: Wed, 6 Sep 2023 15:12:50 +0200 Subject: [PATCH] fix: Add permission to delete juypter file share PVCs The deletion of Jupyter file-shares failed because of insufficient permissions in the sessions namespace. This adds the "delete" verb to the "pvc" resource in the backend serviceaccount. --- helm/templates/backend/backend.serviceaccount.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/templates/backend/backend.serviceaccount.yaml b/helm/templates/backend/backend.serviceaccount.yaml index 911892d6e..f2b4bc2b7 100644 --- a/helm/templates/backend/backend.serviceaccount.yaml +++ b/helm/templates/backend/backend.serviceaccount.yaml @@ -29,7 +29,7 @@ rules: verbs: ["get", "create", "delete"] - apiGroups: [""] resources: ["persistentvolumeclaims"] - verbs: ["get", "create"] + verbs: ["get", "create", "delete"] - apiGroups: [""] resources: ["pods", "pods/log", "events"] verbs: ["get", "list"]