From b01ad07884f22c27e81788afdb176413270cd53a Mon Sep 17 00:00:00 2001 From: Petr Muller Date: Tue, 8 Oct 2024 19:17:14 +0200 Subject: [PATCH] `status`: add some missing `list` annotations --- update/v1alpha1/types_update_status.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update/v1alpha1/types_update_status.go b/update/v1alpha1/types_update_status.go index cfb436fa36d..40ca8428f34 100644 --- a/update/v1alpha1/types_update_status.go +++ b/update/v1alpha1/types_update_status.go @@ -43,6 +43,8 @@ type UpdateStatusStatus struct { ControlPlane ControlPlaneUpdateStatus `json:"controlPlane"` // workerPools contains summaries and insights related to the worker pools update + // +listType=map + // +listMapKey=name // +optional WorkerPools []PoolUpdateStatus `json:"workerPools,omitempty"` @@ -113,6 +115,8 @@ type UpdateInformer struct { // Insights is a list of insights produced by this producer // +optional + // +listType=map + // +listMapKey=uid Insights []UpdateInsight `json:"insights,omitempty"` }