From c0bdb8cab4ed4dcd5cb61fa18ca2b324268501ac Mon Sep 17 00:00:00 2001 From: George Angel Date: Tue, 17 Apr 2018 15:51:29 +0100 Subject: [PATCH] rm rbac whitelisted resources Due to broken whitelisting of rbac --- kube/client.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kube/client.go b/kube/client.go index 52a595ec..801b7060 100644 --- a/kube/client.go +++ b/kube/client.go @@ -46,10 +46,6 @@ var pruneWhitelist = []string{ "core/v1/ServiceAccount", "extensions/v1beta1/Ingress", "networking.k8s.io/v1/NetworkPolicy", - "rbac/v1/ClusterRole", - "rbac/v1/ClusterRoleRoleBinding", - "rbac/v1/Role", - "rbac/v1/RoleBinding", } // AutomaticDeploymentOption type used for labels