From d20bf9424d4193f1ac331e8c8ff8615b0f033c4b Mon Sep 17 00:00:00 2001 From: Andrew Obuchowicz Date: Fri, 15 Jul 2022 14:03:08 -0400 Subject: [PATCH] Add documentation for 'per-user' storage-type Signed-off-by: Andrew Obuchowicz --- docs/additional-configuration.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/additional-configuration.adoc b/docs/additional-configuration.adoc index 1f2d608ca..baf2ba943 100644 --- a/docs/additional-configuration.adoc +++ b/docs/additional-configuration.adoc @@ -74,7 +74,8 @@ spec: where `` is one of -* `common`: Use one PVC for all workspace volumes, mounting Devfile volumes in subpaths within the common PVC +* `per-user`: Use one PVC for all workspace volumes, mounting Devfile volumes in subpaths within the shared PVC +* `common`: An alias of the `per-user` storage-type, which behaves the same way as the `per-user` storage-type. Exists for legacy compatibility reasons. * `per-workspace`: Every workspace is given its own PVC. Each Devfile volume is mounted as a subpath within the workspace PVC. * `ephemeral`: Replace all volumes with `emptyDir` volumes. This storage type is non-persistent; any local changes will be lost when the workspace is stopped. This is the equivalent of marking all volumes in the Devfile as `ephemeral: true` * `async`: Use `emptyDir` volumes for workspace volumes, but include a sidecar that synchronises local changes to a persistent volume as in the `common` strategy. This can potentially avoid issues where mounting volumes to a workspace on startup takes a long time.