Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions enhancements/hypershift/etcd-sharding-by-resource-kind.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ type ManagedEtcdShardSpec struct {
// +kubebuilder:validation:Enum=1;3
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="replicas is immutable"
Replicas int32 `json:"replicas"`
Replicas int32 `json:"replicas,omitzero"`

// scheduling configures per-shard pod placement constraints. These
// constraints are merged with the framework's control plane node
Expand Down Expand Up @@ -651,7 +651,7 @@ top-level fields, which apply only to the default shard.
Storage ManagedEtcdShardStorageSpec `json:"storage,omitzero"`

// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="replicas is immutable"
Replicas int32 `json:"replicas"`
Replicas int32 `json:"replicas,omitzero"`

Scheduling EtcdShardSchedulingSpec `json:"scheduling,omitzero"`
}
Expand Down