From 93fbb9986b8616bd36567aaba53b63ea9ae9281b Mon Sep 17 00:00:00 2001 From: Maximizer Date: Wed, 22 Oct 2025 23:44:59 +0200 Subject: [PATCH] feat: Add kubebuilder listType and listMapkey to NodeSet --- pkg/apis/elasticsearch/v1/elasticsearch_types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/apis/elasticsearch/v1/elasticsearch_types.go b/pkg/apis/elasticsearch/v1/elasticsearch_types.go index edb148e0451..272dc982d83 100644 --- a/pkg/apis/elasticsearch/v1/elasticsearch_types.go +++ b/pkg/apis/elasticsearch/v1/elasticsearch_types.go @@ -97,6 +97,8 @@ type ElasticsearchSpec struct { // NodeSets allow specifying groups of Elasticsearch nodes sharing the same configuration and Pod templates. // +kubebuilder:validation:MinItems=1 + // +listType=map + // +listMapKey=name NodeSets []NodeSet `json:"nodeSets"` // UpdateStrategy specifies how updates to the cluster should be performed.