diff --git a/apis/management.cattle.io/v3/authn_types.go b/apis/management.cattle.io/v3/authn_types.go index 62054f17..94fb8351 100644 --- a/apis/management.cattle.io/v3/authn_types.go +++ b/apis/management.cattle.io/v3/authn_types.go @@ -80,7 +80,6 @@ type UserAttribute struct { metav1.ObjectMeta `json:"metadata,omitempty"` UserName string - UserPrincipal Principal GroupPrincipals map[string]Principals // the value is a []Principal, but code generator cannot handle slice as a value LastRefresh string NeedsRefresh bool diff --git a/apis/management.cattle.io/v3/zz_generated_deepcopy.go b/apis/management.cattle.io/v3/zz_generated_deepcopy.go index bdd8e3b2..a6bfbf4b 100644 --- a/apis/management.cattle.io/v3/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3/zz_generated_deepcopy.go @@ -10088,7 +10088,6 @@ func (in *UserAttribute) DeepCopyInto(out *UserAttribute) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.UserPrincipal.DeepCopyInto(&out.UserPrincipal) if in.GroupPrincipals != nil { in, out := &in.GroupPrincipals, &out.GroupPrincipals *out = make(map[string]Principals, len(*in)) diff --git a/client/management/v3/zz_generated_user_attribute.go b/client/management/v3/zz_generated_user_attribute.go index dbc02228..f50ded0f 100644 --- a/client/management/v3/zz_generated_user_attribute.go +++ b/client/management/v3/zz_generated_user_attribute.go @@ -14,7 +14,6 @@ const ( UserAttributeFieldRemoved = "removed" UserAttributeFieldUUID = "uuid" UserAttributeFieldUserName = "userName" - UserAttributeFieldUserPrincipal = "userPrincipal" ) type UserAttribute struct { @@ -30,5 +29,4 @@ type UserAttribute struct { Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"` UserName string `json:"userName,omitempty" yaml:"userName,omitempty"` - UserPrincipal *Principal `json:"userPrincipal,omitempty" yaml:"userPrincipal,omitempty"` }