Danielle Lancashire
ab5ba7aa9b
config: Hoist volume.config.source into volume
...
Currently, using a Volume in a job uses the following configuration:
```
volume "alias-name" {
type = "volume-type"
read_only = true
config {
source = "host_volume_name"
}
}
```
This commit migrates to the following:
```
volume "alias-name" {
type = "volume-type"
source = "host_volume_name"
read_only = true
}
```
The original design was based due to being uncertain about the future of storage
plugins, and to allow maxium flexibility.
However, this causes a few issues, namely:
- We frequently need to parse this configuration during submission,
scheduling, and mounting
- It complicates the configuration from and end users perspective
- It complicates the ability to do validation
As we understand the problem space of CSI a little more, it has become
clear that we won't need the `source` to be in config, as it will be
used in the majority of cases:
- Host Volumes: Always need a source
- Preallocated CSI Volumes: Always needs a source from a volume or claim name
- Dynamic Persistent CSI Volumes*: Always needs a source to attach the volumes
to for managing upgrades and to avoid dangling.
- Dynamic Ephemeral CSI Volumes*: Less thought out, but `source` will probably point
to the plugin name, and a `config` block will
allow you to pass meta to the plugin. Or will
point to a pre-configured ephemeral config.
*If implemented
The new design simplifies this by merging the source into the volume
stanza to solve the above issues with usability, performance, and error
handling.
2019-09-13 04:37:59 +02:00
..
2019-09-13 04:37:59 +02:00
2019-08-27 07:36:32 -07:00
2015-10-28 16:23:33 -07:00
2018-03-11 17:43:19 +00:00
2018-04-18 12:02:11 -04:00
2017-10-06 14:35:14 -07:00
2018-04-18 13:55:51 -04:00
2017-10-06 14:35:14 -07:00
2018-04-18 13:55:51 -04:00
2017-10-13 16:31:46 -07:00
2018-04-18 13:55:51 -04:00
2017-10-13 16:37:33 -07:00
2018-04-18 12:02:11 -04:00
2018-04-18 12:02:11 -04:00
2017-10-06 14:35:14 -07:00
2018-04-18 12:02:11 -04:00
2017-10-06 14:35:14 -07:00
2018-04-18 13:55:51 -04:00
2017-10-06 14:35:14 -07:00
2018-04-18 13:55:51 -04:00
2019-04-12 15:48:36 +00:00
2019-04-12 15:48:36 +00:00
2017-10-13 16:31:46 -07:00
2018-04-18 12:02:11 -04:00
2017-10-06 14:35:14 -07:00
2018-04-18 13:55:51 -04:00
2018-04-18 12:02:11 -04:00
2018-04-18 12:02:11 -04:00
2018-04-18 13:51:17 -04:00
2018-05-11 18:05:43 -04:00
2019-05-16 17:06:03 -04:00
2019-05-12 22:04:50 -04:00
2019-05-12 22:04:50 -04:00
2019-05-17 11:58:31 -04:00
2018-04-18 13:51:17 -04:00
2019-06-28 20:31:28 -05:00
2018-04-18 13:51:17 -04:00
2019-05-12 22:04:50 -04:00
2019-04-11 14:25:49 +02:00
2019-05-12 22:04:50 -04:00
2019-04-26 12:47:53 +02:00
2019-04-26 12:47:53 +02:00
2019-04-10 10:34:10 -05:00
2019-08-27 23:59:36 -04:00
2019-04-23 12:50:23 +02:00
2019-04-23 12:50:23 +02:00
2018-04-18 12:02:11 -04:00
2017-07-20 21:24:21 -07:00
2018-04-18 12:02:11 -04:00
2019-06-13 16:48:01 -04:00
2017-07-20 21:24:21 -07:00
2017-07-07 12:07:07 -07:00
2018-04-18 13:51:17 -04:00
2018-12-13 13:22:17 -05:00
2018-04-18 13:51:17 -04:00
2018-04-18 12:02:11 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-05-07 14:50:01 -05:00
2018-05-24 12:44:21 -04:00
2018-04-18 13:51:17 -04:00
2019-08-07 09:50:35 -07:00
2018-04-18 12:02:11 -04:00
2018-12-12 09:17:31 -05:00
2018-12-10 12:18:24 -05:00
2018-04-03 18:15:12 -07:00
2019-06-25 19:05:25 -05:00
2018-12-04 11:50:59 -05:00
2019-05-13 18:53:47 -05:00
2019-05-15 21:16:57 -05:00
2018-04-18 13:51:17 -04:00
2018-04-18 21:21:43 -04:00
2018-05-10 15:30:44 -05:00
2018-05-21 18:00:14 -05:00
2018-04-18 13:51:17 -04:00
2018-08-14 14:06:04 -04:00
2019-08-14 14:10:23 -04:00
2019-08-27 07:36:32 -07:00
2019-08-19 14:43:04 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2019-04-12 20:55:55 +00:00
2019-04-12 20:55:55 +00:00
2019-04-12 20:55:55 +00:00
2018-11-08 09:48:43 -06:00
2018-11-08 09:48:43 -06:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2019-04-10 10:34:10 -05:00
2018-04-18 13:51:17 -04:00
2018-04-26 15:46:22 -07:00
2019-04-10 10:34:10 -05:00
2019-06-25 19:05:25 -05:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 12:02:11 -04:00
2017-09-15 23:33:43 +00:00
2018-03-21 20:27:32 -07:00
2018-03-11 19:06:15 +00:00
2018-10-30 12:03:23 -05:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 12:02:11 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2019-09-09 10:04:41 -07:00
2018-04-18 13:51:17 -04:00
2019-05-13 10:01:19 -04:00
2019-01-08 09:35:16 -08:00
2019-01-08 09:35:16 -08:00
2018-04-18 13:51:17 -04:00
2018-04-18 12:02:11 -04:00
2018-11-16 10:26:32 -05:00
2019-08-22 08:48:05 +02:00
2018-06-14 15:48:01 +02:00
2017-12-18 14:29:41 -08:00
2018-04-18 12:02:11 -04:00
2018-09-25 13:49:35 -07:00
2018-09-25 13:49:35 -07:00
2017-12-18 14:29:41 -08:00
2018-04-18 12:02:11 -04:00
2018-03-21 20:27:32 -07:00
2018-04-18 12:02:11 -04:00
2018-04-18 12:02:11 -04:00
2017-07-20 21:24:21 -07:00
2018-04-18 12:02:11 -04:00
2018-01-16 13:35:32 -08:00
2018-04-18 12:02:11 -04:00
2017-07-20 21:24:21 -07:00
2018-04-18 12:02:11 -04:00
2017-07-20 21:24:21 -07:00
2018-04-18 12:02:11 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 12:02:11 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 12:02:11 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 12:02:11 -04:00
2017-09-19 10:08:23 -05:00
2018-04-18 13:55:51 -04:00
2017-09-19 10:08:23 -05:00
2018-04-18 13:55:51 -04:00
2017-09-19 10:08:23 -05:00
2018-04-18 12:02:11 -04:00
2017-09-19 10:08:23 -05:00
2018-04-18 13:55:51 -04:00
2018-04-18 12:02:11 -04:00
2017-07-20 21:24:21 -07:00
2018-05-11 18:05:43 -04:00
2017-07-20 21:24:21 -07:00
2018-05-11 18:05:43 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 12:02:11 -04:00
2018-04-18 12:02:11 -04:00
2017-08-29 08:42:09 -07:00
2019-04-11 13:15:44 +02:00
2018-04-18 12:02:11 -04:00
2019-06-13 08:03:16 -07:00
2017-07-20 21:24:21 -07:00
2018-04-18 12:02:11 -04:00