From 3404466eb35e1bb06dfaab131dacb6122f0e11e8 Mon Sep 17 00:00:00 2001 From: Florent Rivoire Date: Wed, 9 Oct 2024 16:04:06 +0200 Subject: [PATCH] cassandradatacenter_types: allow 1length rack name --- apis/cassandra/v1beta1/cassandradatacenter_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/cassandra/v1beta1/cassandradatacenter_types.go b/apis/cassandra/v1beta1/cassandradatacenter_types.go index 351430b0..0a23fbc3 100644 --- a/apis/cassandra/v1beta1/cassandradatacenter_types.go +++ b/apis/cassandra/v1beta1/cassandradatacenter_types.go @@ -370,7 +370,7 @@ type ServiceConfigAdditions struct { // Rack ... type Rack struct { // The rack name - // +kubebuilder:validation:MinLength=2 + // +kubebuilder:validation:MinLength=1 Name string `json:"name"` // Deprecated. Use nodeAffinityLabels instead. DeprecatedZone name to pin the rack, using node affinity