diff --git a/pkg/storage/pv_creator.go b/pkg/storage/pv_creator.go index e3fa2cc80..c8ac17e34 100644 --- a/pkg/storage/pv_creator.go +++ b/pkg/storage/pv_creator.go @@ -100,7 +100,7 @@ func (ls *LocalStorage) createPVs(ctx context.Context, apiObject *api.ArangoLoca // Find size of PVC volSize := defaultVolumeSize - if reqStorage := claim.Spec.Resources.Requests.StorageEphemeral(); reqStorage != nil { + if reqStorage, ok := claim.Spec.Resources.Requests[v1.ResourceStorage]; ok { if v, ok := reqStorage.AsInt64(); ok && v > 0 { volSize = v }