From 3a5f2986d107d0ef2309165d39f01e950f010c58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jiri=20Dan=C4=9Bk?= Date: Tue, 10 Dec 2024 09:38:46 +0100 Subject: [PATCH] Allow requests for ephemeral-storage in validation/config.go --- pkg/validation/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/validation/config.go b/pkg/validation/config.go index 9653f3b084..b368f3bcb4 100644 --- a/pkg/validation/config.go +++ b/pkg/validation/config.go @@ -567,7 +567,7 @@ func validateResourceList(fieldRoot string, list api.ResourceList) []error { var numInvalid int for key := range list { switch key { - case "cpu", "memory", api.ShmResource, api.NvidiaGPUResource: + case "cpu", "memory", "ephemeral-storage", api.ShmResource, api.NvidiaGPUResource: quantity, err := resource.ParseQuantity(list[key]) if err != nil { validationErrors = append(validationErrors, fmt.Errorf("%s.%s: invalid quantity: %w", fieldRoot, key, err))