fix iam admission webhook (#2008)

Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
hongming
2020-04-14 00:15:18 +08:00
committed by GitHub
parent 864b244cc3
commit bb9e12be3d
4 changed files with 37 additions and 13 deletions

View File

@@ -50,6 +50,7 @@ func Resource(resource string) schema.GroupResource {
func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion,
&User{},
&UserList{},
&Role{},
&RoleList{},
&RoleBinding{},