diff --git a/apis/management.cattle.io/v3/cluster_types.go b/apis/management.cattle.io/v3/cluster_types.go index e3652926..57901bf1 100644 --- a/apis/management.cattle.io/v3/cluster_types.go +++ b/apis/management.cattle.io/v3/cluster_types.go @@ -52,7 +52,6 @@ type Cluster struct { } type ClusterSpec struct { - DisplayName string `json:"displayName"` Description string `json:"description"` Internal bool `json:"internal" norman:"nocreate,noupdate"` DesiredAgentImage string `json:"desiredAgentImage"` @@ -86,7 +85,6 @@ type ClusterStatus struct { FailedSpec *ClusterSpec `json:"failedSpec,omitempty"` Requested v1.ResourceList `json:"requested,omitempty"` Limits v1.ResourceList `json:"limits,omitempty"` - ClusterName string `json:"clusterName,omitempty"` Version *version.Info `json:"version,omitempty"` AppliedPodSecurityPolicyTemplateName string `json:"appliedPodSecurityPolicyTemplateId"` } diff --git a/apis/management.cattle.io/v3/schema/schema.go b/apis/management.cattle.io/v3/schema/schema.go index 7b75ccf1..f763274e 100644 --- a/apis/management.cattle.io/v3/schema/schema.go +++ b/apis/management.cattle.io/v3/schema/schema.go @@ -114,11 +114,9 @@ func clusterTypes(schemas *types.Schemas) *types.Schemas { return schemas. AddMapperForType(&Version, v3.Cluster{}, &m.Embed{Field: "status"}, - m.DisplayName{}, ). AddMapperForType(&Version, v3.ClusterStatus{}, m.Drop{Field: "serviceAccountToken"}, - m.Drop{Field: "clusterName"}, ). AddMapperForType(&Version, v3.ClusterEvent{}, &m.Move{ From: "type",