diff --git a/apis/management.cattle.io/v3/k3s_types.go b/apis/management.cattle.io/v3/k3s_types.go index 7923a1d7..a0ce858e 100644 --- a/apis/management.cattle.io/v3/k3s_types.go +++ b/apis/management.cattle.io/v3/k3s_types.go @@ -10,9 +10,9 @@ type K3sConfig struct { //K3sUpgradeStrategy provides configuration to the downstream system-upgrade-controller type K3sUpgradeStrategy struct { // How many controlplane nodes should be upgrade at time, defaults to 1 - ServerConcurrency int `yaml:"server_concurrency" json:"serverConcurrency,omitempty"` + ServerConcurrency int `yaml:"server_concurrency" json:"serverConcurrency,omitempty" norman:"min=1"` // How many workers should be upgraded at a time - WorkerConcurrency int `yaml:"worker_concurrency" json:"workerConcurrency,omitempty"` + WorkerConcurrency int `yaml:"worker_concurrency" json:"workerConcurrency,omitempty" norman:"min=1"` // Whether controlplane nodes should be drained DrainServerNodes bool `yaml:"drain_server_nodes" json:"drainServerNodes,omitempty"` // Whether worker nodes should be drained