Skip to content

Commit

Permalink
Allow requests for ephemeral-storage in validation/config.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek authored Dec 10, 2024
1 parent 4ae3ba3 commit 3a5f298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/validation/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 3a5f298

Please sign in to comment.