Merge pull request #34019 from deads2k/rbac-12-default-bindings
Automatic merge from submit-queue Add default cluster role bindings Add default cluster roles bindings to rbac bootstrapping. Also adds a case for allowing escalation when you have no authenticator. @liggitt I expect you may need to make peace with this.
This commit is contained in:
@@ -5004,6 +5004,23 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
|
||||
Dependencies: []string{
|
||||
"api.ObjectMeta", "rbac.RoleRef", "rbac.Subject", "unversioned.TypeMeta"},
|
||||
},
|
||||
"rbac.ClusterRoleBindingBuilder": {
|
||||
Schema: spec.Schema{
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "ClusterRoleBindingBuilder let's us attach methods. A no-no for API types. We use it to construct bindings in code. It's more compact than trying to write them out in a literal.",
|
||||
Properties: map[string]spec.Schema{
|
||||
"ClusterRoleBinding": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Ref: spec.MustCreateRef("#/definitions/rbac.ClusterRoleBinding"),
|
||||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"ClusterRoleBinding"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
"rbac.ClusterRoleBinding"},
|
||||
},
|
||||
"rbac.ClusterRoleBindingList": {
|
||||
Schema: spec.Schema{
|
||||
SchemaProps: spec.SchemaProps{
|
||||
|
Reference in New Issue
Block a user