fix err message in namespace_policy

pull/6/head
xilabao 2017-05-23 17:51:01 +08:00
parent 286bcc6f5c
commit a319019417
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ func addNamespaceRole(namespace string, role rbac.Role) {
func addNamespaceRoleBinding(namespace string, roleBinding rbac.RoleBinding) {
if !strings.HasPrefix(namespace, "kube-") {
glog.Fatalf(`roles can only be bootstrapped into reserved namespaces starting with "kube-", not %q`, namespace)
glog.Fatalf(`rolebindings can only be bootstrapped into reserved namespaces starting with "kube-", not %q`, namespace)
}
existingRoleBindings := namespaceRoleBindings[namespace]