diff --git a/pkg/constants/attributes.go b/pkg/constants/attributes.go index 9ce5f65fe..71994662f 100644 --- a/pkg/constants/attributes.go +++ b/pkg/constants/attributes.go @@ -20,11 +20,12 @@ const ( // DevWorkspaceStorageTypeAttribute defines the strategy used for provisioning storage for the workspace. // If empty, the common PVC strategy is used. // Supported options: - // - "common": Create one PVC per namespace, and store data for all workspaces in that namespace in that PVC - // - "async" : Create one PVC per namespace, and create a remote server that syncs data from workspaces to the PVC. - // All volumeMounts used for devworkspaces are emptyDir - // - "ephemeral": Use emptyDir volumes for all volumes in the DevWorkspace. All data is lost when the workspace is - // stopped. + // - "common": Create one PVC per namespace, and store data for all workspaces in that namespace in that PVC + // - "async" : Create one PVC per namespace, and create a remote server that syncs data from workspaces to the PVC. + // All volumeMounts used for devworkspaces are emptyDir + // - "per-workspace": Create one PVC per workspace, delete that PVC when the workspace is deleted. + // - "ephemeral": Use emptyDir volumes for all volumes in the DevWorkspace. All data is lost when the workspace is + // stopped. DevWorkspaceStorageTypeAttribute = "controller.devfile.io/storage-type" // RuntimeClassNameAttribute is an attribute added to a DevWorkspace to specify a runtimeClassName for container