Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions pkg/constants/attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down