From fdb5bb07b62a484d9a6e39f26b9acdd4a6e94813 Mon Sep 17 00:00:00 2001 From: Seb Ospina Date: Wed, 6 Feb 2019 10:58:52 +0100 Subject: [PATCH] Added List mode for Role, ClusterRole and Bindings Kubernetes supports RoleList, RoleBindingList, ClusterRoleList and ClusterRoleBindingList, in order for a Role to be bound, it must already exist, the the List references, see: https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/rbac/types.go Signed-off-by: Sebastian Ospina --- pkg/tiller/kind_sorter.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/tiller/kind_sorter.go b/pkg/tiller/kind_sorter.go index ceeb0f928..5c924ed4c 100644 --- a/pkg/tiller/kind_sorter.go +++ b/pkg/tiller/kind_sorter.go @@ -40,9 +40,13 @@ var InstallOrder SortOrder = []string{ "ServiceAccount", "CustomResourceDefinition", "ClusterRole", + "ClusterRoleList", "ClusterRoleBinding", + "ClusterRoleBindingList", "Role", + "RoleList", "RoleBinding", + "RoleBindingList", "Service", "DaemonSet", "Pod",