From 072ea7db39b701e29d520e1d45e435076462584d Mon Sep 17 00:00:00 2001 From: yetone Date: Mon, 19 Dec 2022 11:48:12 +0000 Subject: [PATCH] feat(helm-chart): add pods/attach and pods/ephemeralcaontainers roles for yatai --- .../templates/role-yatai-deployment.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/helm/yatai-deployment/templates/role-yatai-deployment.yaml b/helm/yatai-deployment/templates/role-yatai-deployment.yaml index 3dffc1d..8bbb2e4 100644 --- a/helm/yatai-deployment/templates/role-yatai-deployment.yaml +++ b/helm/yatai-deployment/templates/role-yatai-deployment.yaml @@ -64,6 +64,28 @@ rules: - get - list - watch +- apiGroups: + - "" + resources: + - pods/attach + verbs: + - create + - update + - patch + - get + - list + - watch +- apiGroups: + - "" + resources: + - pods/ephemeralcontainers + verbs: + - create + - update + - patch + - get + - list + - watch - apiGroups: - "" resources: