diff --git a/pkg/apis/elasticsearch/v1/elasticsearch_types.go b/pkg/apis/elasticsearch/v1/elasticsearch_types.go index edb148e045..272dc982d8 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.