We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be1a2c8 commit caf6bc5Copy full SHA for caf6bc5
pkg/config/validation.go
@@ -766,6 +766,9 @@ func validatePrivatedNodesMode(vConfig *VirtualClusterConfig) error {
766
if nodePool.Provider == "" {
767
return fmt.Errorf("node pool provider is required")
768
}
769
+ if nodePool.Quantity < 0 {
770
+ return fmt.Errorf("node pool quantity cannot be negative")
771
+ }
772
773
if err := validateRequirements(nodePool.Requirements); err != nil {
774
return fmt.Errorf("invalid requirements for node pool %s: %w", nodePool.Name, err)
0 commit comments