From 159a10e134c785acfc15066b80e5e4e3a3378efc Mon Sep 17 00:00:00 2001 From: Ali Ok Date: Tue, 22 Jun 2021 12:03:31 +0300 Subject: [PATCH] Fix IMC webhook cluster role --- .../in-memory-channel/roles/controller-clusterrole.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/channels/in-memory-channel/roles/controller-clusterrole.yaml b/config/channels/in-memory-channel/roles/controller-clusterrole.yaml index 232144a0401..d591d32eca1 100644 --- a/config/channels/in-memory-channel/roles/controller-clusterrole.yaml +++ b/config/channels/in-memory-channel/roles/controller-clusterrole.yaml @@ -129,3 +129,11 @@ rules: - "list" - "watch" - "patch" + + # finalizers are needed for the owner reference of the webhook + - apiGroups: + - "" + resources: + - "namespaces/finalizers" + verbs: + - "update"