From 7351008b4e6153eefa4a43b4d686fdf1ac16fc17 Mon Sep 17 00:00:00 2001 From: Melvin Zottola Date: Fri, 10 Jan 2025 16:23:00 +0100 Subject: [PATCH] fixup! feat(cor-1138) Make Karpenter qovery node pools mandatory --- qovery/resource_cluster_model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qovery/resource_cluster_model.go b/qovery/resource_cluster_model.go index 96f647bf..345c130f 100644 --- a/qovery/resource_cluster_model.go +++ b/qovery/resource_cluster_model.go @@ -461,7 +461,7 @@ func toQoveryNodePools(obj types.Object) (*qovery.KarpenterNodePool, error) { } if len(requirements) == 0 { - return nil, fmt.Errorf("Requirements must be set") + return nil, fmt.Errorf("karpenter nodepool requirements are mandatory: it must be set among [InstanceFamily, InstanceSize, Arch]") } // Check that requirements are correctly set