From ca626f3c0ad5c27600c2ec2fb78898edf23c399f Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Sun, 20 Feb 2022 09:39:11 -0800 Subject: [PATCH] k8s chart: add permissions for pod exec and logs --- chart/templates/role.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/templates/role.yaml b/chart/templates/role.yaml index 5f61a090..7b0f143d 100644 --- a/chart/templates/role.yaml +++ b/chart/templates/role.yaml @@ -6,7 +6,7 @@ metadata: name: crawler-run rules: - apiGroups: [""] - resources: ["pods", "services", "configmaps", "secrets", "events"] + resources: ["pods", "pods/exec", "pods/log", "services", "configmaps", "secrets", "events"] verbs: ["get", "list", "watch", "create", "update", "patch", "delete", "deletecollection"] - apiGroups: ["batch", "extensions"]