From 214e18f189895174047912c49b3772265ec6a9f5 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Thu, 18 Jan 2018 16:48:24 -0700 Subject: [PATCH] Drop confusing clusterName from public API --- apis/management.cattle.io/v3/schema/schema.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apis/management.cattle.io/v3/schema/schema.go b/apis/management.cattle.io/v3/schema/schema.go index 67ded7a3..5bd206e2 100644 --- a/apis/management.cattle.io/v3/schema/schema.go +++ b/apis/management.cattle.io/v3/schema/schema.go @@ -54,7 +54,9 @@ func clusterTypes(schemas *types.Schemas) *types.Schemas { m.DisplayName{}, ). AddMapperForType(&Version, v3.ClusterStatus{}, + m.Drop{Field: "serviceAccountToken"}, m.Drop{Field: "appliedSpec"}, + m.Drop{Field: "clusterName"}, ). AddMapperForType(&Version, v3.ClusterEvent{}, &m.Move{ From: "type",