diff --git a/apis/cluster.cattle.io/v1/types.go b/apis/cluster.cattle.io/v1/types.go index fe8322e6..5f2aaa0a 100644 --- a/apis/cluster.cattle.io/v1/types.go +++ b/apis/cluster.cattle.io/v1/types.go @@ -52,6 +52,7 @@ type ClusterStatus struct { CACert string `json:"caCert,omitempty"` Capacity v1.ResourceList `json:"capacity,omitempty"` Allocatable v1.ResourceList `json:"allocatable,omitempty"` + AppliedSpec ClusterSpec `json:"clusterSpec,omitempty"` } type ClusterComponentStatus struct { diff --git a/apis/cluster.cattle.io/v1/zz_generated_deepcopy.go b/apis/cluster.cattle.io/v1/zz_generated_deepcopy.go index b8bebf21..3582e448 100644 --- a/apis/cluster.cattle.io/v1/zz_generated_deepcopy.go +++ b/apis/cluster.cattle.io/v1/zz_generated_deepcopy.go @@ -282,6 +282,7 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { (*out)[key] = val.DeepCopy() } } + in.AppliedSpec.DeepCopyInto(&out.AppliedSpec) return } diff --git a/client/cluster/v1/zz_generated_cluster_status.go b/client/cluster/v1/zz_generated_cluster_status.go index 7d53b239..e05ec552 100644 --- a/client/cluster/v1/zz_generated_cluster_status.go +++ b/client/cluster/v1/zz_generated_cluster_status.go @@ -4,6 +4,7 @@ const ( ClusterStatusType = "clusterStatus" ClusterStatusFieldAPIEndpoint = "apiEndpoint" ClusterStatusFieldAllocatable = "allocatable" + ClusterStatusFieldAppliedSpec = "appliedSpec" ClusterStatusFieldCACert = "caCert" ClusterStatusFieldCapacity = "capacity" ClusterStatusFieldComponentStatuses = "componentStatuses" @@ -14,6 +15,7 @@ const ( type ClusterStatus struct { APIEndpoint string `json:"apiEndpoint,omitempty"` Allocatable map[string]string `json:"allocatable,omitempty"` + AppliedSpec ClusterSpec `json:"appliedSpec,omitempty"` CACert string `json:"caCert,omitempty"` Capacity map[string]string `json:"capacity,omitempty"` ComponentStatuses []ClusterComponentStatus `json:"componentStatuses,omitempty"`