Skip to content

Commit

Permalink
cassandradatacenter_types: allow 1length rack name
Browse files Browse the repository at this point in the history
  • Loading branch information
frivoire authored Oct 9, 2024
1 parent 3b43dfe commit 3404466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/cassandra/v1beta1/cassandradatacenter_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3404466

Please sign in to comment.