From 78e4a642aa36b49a3fc038974e3e214af2bd852a Mon Sep 17 00:00:00 2001 From: Suraj Deshmukh Date: Thu, 16 Aug 2018 14:26:57 +0530 Subject: [PATCH] [RBAC] Remove permission for Deployments Habitat spec `v1beta1` needed to do CRUD on Deployments so it had permissions on the Kubernetes Deployments resource. Now that it's support is removed no more operations of Deployments are done. Hence this commit removes the permission to Deployments. Signed-off-by: Suraj Deshmukh --- examples/rbac/rbac.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/rbac/rbac.yml b/examples/rbac/rbac.yml index a4a309de..bda481f9 100644 --- a/examples/rbac/rbac.yml +++ b/examples/rbac/rbac.yml @@ -34,7 +34,6 @@ rules: - apiGroups: - apps resources: - - deployments - statefulsets verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - apiGroups: [""]