From 6ce13660ebd9cbdd1ad0a7b46ecacabc0e64bcdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E5=85=83?= Date: Sat, 10 Oct 2020 18:14:32 +0800 Subject: [PATCH] fix missing rbac about controllerrevision and CRD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 天元 --- .../oam-kubernetes-runtime/templates/oam-controller.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/charts/oam-kubernetes-runtime/templates/oam-controller.yaml b/charts/oam-kubernetes-runtime/templates/oam-controller.yaml index 47d524a0..c28e59c8 100644 --- a/charts/oam-kubernetes-runtime/templates/oam-controller.yaml +++ b/charts/oam-kubernetes-runtime/templates/oam-controller.yaml @@ -39,6 +39,13 @@ rules: - apps resources: - deployments + - controllerrevisions + verbs: + - "*" +- apiGroups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions verbs: - "*" - apiGroups: