Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

0.9.208: Relax volume validation requirements (#1222)

Compare
Choose a tag to compare
@davidxia davidxia released this 11 Jul 17:31
· 95 commits to master since this release
dbcbe17
* Relax volume validation requirements

This commit adds support for mounting named volumes by relaxing the
validation performed by the `JobValidator`. This allows jobs to use
options for volumes managed by a particular driver, such as:

```
docker volume create --driver local \
   --opt type=btrfs --opt device=/dev/sda2 \
   myvolume
```

The above volume can then be mounted into a container using the
following helios job configuration (full configuration omitted):

```
{
  ...
  "volumes": {
    "/mnt/myvol": "myvolume"
  }
}
```

* Address review comments