From 89dd80ea5a86a2e9aecd1b819666b3e81395a2c7 Mon Sep 17 00:00:00 2001 From: Angel Misevski Date: Mon, 25 Jan 2021 15:54:06 -0500 Subject: [PATCH 1/2] Add 'ephemeral' field to Volume Components Add field "ephemeral" to Volume components to specify that this volume should not be persisted. This enables creating devfiles that share storage between components without having to store data in a persistent volume. Signed-off-by: Angel Misevski --- pkg/apis/workspaces/v1alpha1/volumeComponent.go | 5 +++++ pkg/apis/workspaces/v1alpha2/volumeComponent.go | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/pkg/apis/workspaces/v1alpha1/volumeComponent.go b/pkg/apis/workspaces/v1alpha1/volumeComponent.go index bb47d4633..7815e1a10 100644 --- a/pkg/apis/workspaces/v1alpha1/volumeComponent.go +++ b/pkg/apis/workspaces/v1alpha1/volumeComponent.go @@ -15,4 +15,9 @@ type Volume struct { // +optional // Size of the volume Size string `json:"size,omitempty"` + + // +optional + // Ephemeral volumes are not stored persistently across restarts. Defaults + // to false + Ephemeral bool `json:"ephemeral,omitempty"` } diff --git a/pkg/apis/workspaces/v1alpha2/volumeComponent.go b/pkg/apis/workspaces/v1alpha2/volumeComponent.go index 069238198..6323180a2 100644 --- a/pkg/apis/workspaces/v1alpha2/volumeComponent.go +++ b/pkg/apis/workspaces/v1alpha2/volumeComponent.go @@ -11,4 +11,9 @@ type Volume struct { // +optional // Size of the volume Size string `json:"size,omitempty"` + + // +optional + // Ephemeral volumes are not stored persistently across restarts. Defaults + // to false + Ephemeral bool `json:"ephemeral,omitempty"` } From 5be8d9fccddc528cd1e445ac300bcb85a9adbf93 Mon Sep 17 00:00:00 2001 From: Angel Misevski Date: Mon, 25 Jan 2021 15:56:12 -0500 Subject: [PATCH 2/2] Regenerate schemas and CRDs after adding ephemeral to volumes. Signed-off-by: Angel Misevski --- ...pace.devfile.io_devworkspaces.v1beta1.yaml | 36 +++++++++++++++++++ crds/workspace.devfile.io_devworkspaces.yaml | 36 +++++++++++++++++++ ...file.io_devworkspacetemplates.v1beta1.yaml | 34 ++++++++++++++++++ ...pace.devfile.io_devworkspacetemplates.yaml | 34 ++++++++++++++++++ .../v1alpha2/zz_generated.parent_overrides.go | 10 ++++++ .../v1alpha2/zz_generated.plugin_overrides.go | 5 +++ .../latest/dev-workspace-template-spec.json | 16 +++++++++ schemas/latest/dev-workspace-template.json | 16 +++++++++ schemas/latest/dev-workspace.json | 16 +++++++++ schemas/latest/devfile.json | 16 +++++++++ .../dev-workspace-template-spec.json | 20 +++++++++++ .../ide-targeted/dev-workspace-template.json | 20 +++++++++++ .../latest/ide-targeted/dev-workspace.json | 20 +++++++++++ schemas/latest/ide-targeted/devfile.json | 20 +++++++++++ .../latest/ide-targeted/parent-overrides.json | 10 ++++++ .../latest/ide-targeted/plugin-overrides.json | 5 +++ schemas/latest/parent-overrides.json | 8 +++++ schemas/latest/plugin-overrides.json | 4 +++ 18 files changed, 326 insertions(+) diff --git a/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml b/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml index c14c6050e..51573e3cc 100644 --- a/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml +++ b/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml @@ -1657,6 +1657,11 @@ spec: description: Configuration overriding for a Volume component in a plugin properties: + ephemeral: + description: Ephemeral volumes are not stored + persistently across restarts. Defaults to + false + type: boolean name: description: Mandatory name that allows referencing the Volume component in Container volume @@ -1707,6 +1712,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean name: description: Mandatory name that allows referencing the Volume component in Container volume mounts or @@ -3420,6 +3429,11 @@ spec: description: Configuration overriding for a Volume component in a plugin properties: + ephemeral: + description: Ephemeral volumes are not + stored persistently across restarts. + Defaults to false + type: boolean name: description: Mandatory name that allows referencing the Volume component in @@ -3473,6 +3487,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean name: description: Mandatory name that allows referencing the Volume component in Container volume mounts @@ -5626,6 +5644,11 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored + persistently across restarts. Defaults to + false + type: boolean size: description: Size of the volume type: string @@ -5666,6 +5689,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean size: description: Size of the volume type: string @@ -7185,6 +7212,11 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not + stored persistently across restarts. + Defaults to false + type: boolean size: description: Size of the volume type: string @@ -7224,6 +7256,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean size: description: Size of the volume type: string diff --git a/crds/workspace.devfile.io_devworkspaces.yaml b/crds/workspace.devfile.io_devworkspaces.yaml index c4dbf1f8c..8d88aa1bf 100644 --- a/crds/workspace.devfile.io_devworkspaces.yaml +++ b/crds/workspace.devfile.io_devworkspaces.yaml @@ -1653,6 +1653,11 @@ spec: description: Configuration overriding for a Volume component in a plugin properties: + ephemeral: + description: Ephemeral volumes are not stored + persistently across restarts. Defaults to + false + type: boolean name: description: Mandatory name that allows referencing the Volume component in Container volume @@ -1703,6 +1708,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean name: description: Mandatory name that allows referencing the Volume component in Container volume mounts or @@ -3416,6 +3425,11 @@ spec: description: Configuration overriding for a Volume component in a plugin properties: + ephemeral: + description: Ephemeral volumes are not + stored persistently across restarts. + Defaults to false + type: boolean name: description: Mandatory name that allows referencing the Volume component in @@ -3469,6 +3483,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean name: description: Mandatory name that allows referencing the Volume component in Container volume mounts @@ -5631,6 +5649,11 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored + persistently across restarts. Defaults to + false + type: boolean size: description: Size of the volume type: string @@ -5671,6 +5694,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean size: description: Size of the volume type: string @@ -7190,6 +7217,11 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not + stored persistently across restarts. + Defaults to false + type: boolean size: description: Size of the volume type: string @@ -7229,6 +7261,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean size: description: Size of the volume type: string diff --git a/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml b/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml index 10e7c581f..847437efb 100644 --- a/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml +++ b/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml @@ -1584,6 +1584,10 @@ spec: description: Configuration overriding for a Volume component in a plugin properties: + ephemeral: + description: Ephemeral volumes are not stored + persistently across restarts. Defaults to false + type: boolean name: description: Mandatory name that allows referencing the Volume component in Container volume mounts @@ -1634,6 +1638,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean name: description: Mandatory name that allows referencing the Volume component in Container volume mounts or inside @@ -3288,6 +3296,11 @@ spec: description: Configuration overriding for a Volume component in a plugin properties: + ephemeral: + description: Ephemeral volumes are not stored + persistently across restarts. Defaults to + false + type: boolean name: description: Mandatory name that allows referencing the Volume component in Container volume @@ -3338,6 +3351,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean name: description: Mandatory name that allows referencing the Volume component in Container volume mounts or @@ -5340,6 +5357,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored + persistently across restarts. Defaults to false + type: boolean size: description: Size of the volume type: string @@ -5380,6 +5401,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean size: description: Size of the volume type: string @@ -6845,6 +6870,11 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored + persistently across restarts. Defaults to + false + type: boolean size: description: Size of the volume type: string @@ -6883,6 +6913,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean size: description: Size of the volume type: string diff --git a/crds/workspace.devfile.io_devworkspacetemplates.yaml b/crds/workspace.devfile.io_devworkspacetemplates.yaml index 4fe96fed8..1c3f0e2f3 100644 --- a/crds/workspace.devfile.io_devworkspacetemplates.yaml +++ b/crds/workspace.devfile.io_devworkspacetemplates.yaml @@ -1582,6 +1582,10 @@ spec: description: Configuration overriding for a Volume component in a plugin properties: + ephemeral: + description: Ephemeral volumes are not stored + persistently across restarts. Defaults to false + type: boolean name: description: Mandatory name that allows referencing the Volume component in Container volume mounts @@ -1632,6 +1636,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean name: description: Mandatory name that allows referencing the Volume component in Container volume mounts or inside @@ -3286,6 +3294,11 @@ spec: description: Configuration overriding for a Volume component in a plugin properties: + ephemeral: + description: Ephemeral volumes are not stored + persistently across restarts. Defaults to + false + type: boolean name: description: Mandatory name that allows referencing the Volume component in Container volume @@ -3336,6 +3349,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean name: description: Mandatory name that allows referencing the Volume component in Container volume mounts or @@ -5345,6 +5362,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored + persistently across restarts. Defaults to false + type: boolean size: description: Size of the volume type: string @@ -5385,6 +5406,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean size: description: Size of the volume type: string @@ -6850,6 +6875,11 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored + persistently across restarts. Defaults to + false + type: boolean size: description: Size of the volume type: string @@ -6888,6 +6918,10 @@ spec: description: Allows specifying the definition of a volume shared by several other components properties: + ephemeral: + description: Ephemeral volumes are not stored persistently + across restarts. Defaults to false + type: boolean size: description: Size of the volume type: string diff --git a/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go b/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go index 933e3b4e5..5ffd65f65 100644 --- a/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go +++ b/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go @@ -498,6 +498,11 @@ type VolumeParentOverride struct { // +optional // Size of the volume Size string `json:"size,omitempty"` + + // +optional + // Ephemeral volumes are not stored persistently across restarts. Defaults + // to false + Ephemeral bool `json:"ephemeral,omitempty"` } type ImportReferenceParentOverride struct { @@ -1060,6 +1065,11 @@ type VolumePluginOverrideParentOverride struct { // +optional // Size of the volume Size string `json:"size,omitempty"` + + // +optional + // Ephemeral volumes are not stored persistently across restarts. Defaults + // to false + Ephemeral bool `json:"ephemeral,omitempty"` } type LabeledCommandPluginOverrideParentOverride struct { diff --git a/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go b/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go index 42655fe88..1872f7643 100644 --- a/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go +++ b/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go @@ -377,6 +377,11 @@ type VolumePluginOverride struct { // +optional // Size of the volume Size string `json:"size,omitempty"` + + // +optional + // Ephemeral volumes are not stored persistently across restarts. Defaults + // to false + Ephemeral bool `json:"ephemeral,omitempty"` } type LabeledCommandPluginOverride struct { diff --git a/schemas/latest/dev-workspace-template-spec.json b/schemas/latest/dev-workspace-template-spec.json index 0043066d7..fbf9b3691 100644 --- a/schemas/latest/dev-workspace-template-spec.json +++ b/schemas/latest/dev-workspace-template-spec.json @@ -1432,6 +1432,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" @@ -1477,6 +1481,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" @@ -2858,6 +2866,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" @@ -2900,6 +2912,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" diff --git a/schemas/latest/dev-workspace-template.json b/schemas/latest/dev-workspace-template.json index bf1d3ec20..542bbfdf7 100644 --- a/schemas/latest/dev-workspace-template.json +++ b/schemas/latest/dev-workspace-template.json @@ -1597,6 +1597,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" @@ -1642,6 +1646,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" @@ -3023,6 +3031,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" @@ -3065,6 +3077,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" diff --git a/schemas/latest/dev-workspace.json b/schemas/latest/dev-workspace.json index deb261a9b..92a747095 100644 --- a/schemas/latest/dev-workspace.json +++ b/schemas/latest/dev-workspace.json @@ -1610,6 +1610,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" @@ -1655,6 +1659,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" @@ -3036,6 +3044,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" @@ -3078,6 +3090,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" diff --git a/schemas/latest/devfile.json b/schemas/latest/devfile.json index 6da677dcc..82a6efc68 100644 --- a/schemas/latest/devfile.json +++ b/schemas/latest/devfile.json @@ -1357,6 +1357,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" @@ -1402,6 +1406,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" @@ -2827,6 +2835,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" @@ -2869,6 +2881,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" diff --git a/schemas/latest/ide-targeted/dev-workspace-template-spec.json b/schemas/latest/ide-targeted/dev-workspace-template-spec.json index d77ecf215..38001695a 100644 --- a/schemas/latest/ide-targeted/dev-workspace-template-spec.json +++ b/schemas/latest/ide-targeted/dev-workspace-template-spec.json @@ -1579,6 +1579,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", @@ -1631,6 +1636,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", @@ -3164,6 +3174,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", @@ -3213,6 +3228,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", diff --git a/schemas/latest/ide-targeted/dev-workspace-template.json b/schemas/latest/ide-targeted/dev-workspace-template.json index e7753507a..db3fbe7e2 100644 --- a/schemas/latest/ide-targeted/dev-workspace-template.json +++ b/schemas/latest/ide-targeted/dev-workspace-template.json @@ -1777,6 +1777,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", @@ -1829,6 +1834,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", @@ -3362,6 +3372,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", @@ -3411,6 +3426,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", diff --git a/schemas/latest/ide-targeted/dev-workspace.json b/schemas/latest/ide-targeted/dev-workspace.json index ec1029652..9d99421b9 100644 --- a/schemas/latest/ide-targeted/dev-workspace.json +++ b/schemas/latest/ide-targeted/dev-workspace.json @@ -1790,6 +1790,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", @@ -1842,6 +1847,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", @@ -3375,6 +3385,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", @@ -3424,6 +3439,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", diff --git a/schemas/latest/ide-targeted/devfile.json b/schemas/latest/ide-targeted/devfile.json index 884643531..3f791cc8c 100644 --- a/schemas/latest/ide-targeted/devfile.json +++ b/schemas/latest/ide-targeted/devfile.json @@ -1494,6 +1494,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", @@ -1546,6 +1551,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", @@ -3132,6 +3142,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", @@ -3181,6 +3196,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", diff --git a/schemas/latest/ide-targeted/parent-overrides.json b/schemas/latest/ide-targeted/parent-overrides.json index 337cf9ce8..01d506955 100644 --- a/schemas/latest/ide-targeted/parent-overrides.json +++ b/schemas/latest/ide-targeted/parent-overrides.json @@ -1461,6 +1461,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", @@ -1510,6 +1515,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", diff --git a/schemas/latest/ide-targeted/plugin-overrides.json b/schemas/latest/ide-targeted/plugin-overrides.json index cdf3c760b..e6ce98654 100644 --- a/schemas/latest/ide-targeted/plugin-overrides.json +++ b/schemas/latest/ide-targeted/plugin-overrides.json @@ -721,6 +721,11 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean", + "markdownDescription": "Ephemeral volumes are not stored persistently across restarts. Defaults to false" + }, "size": { "description": "Size of the volume", "type": "string", diff --git a/schemas/latest/parent-overrides.json b/schemas/latest/parent-overrides.json index d921b5a94..75a5fccec 100644 --- a/schemas/latest/parent-overrides.json +++ b/schemas/latest/parent-overrides.json @@ -1316,6 +1316,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" @@ -1358,6 +1362,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string" diff --git a/schemas/latest/plugin-overrides.json b/schemas/latest/plugin-overrides.json index 96f16a39a..000e226bb 100644 --- a/schemas/latest/plugin-overrides.json +++ b/schemas/latest/plugin-overrides.json @@ -648,6 +648,10 @@ "description": "Allows specifying the definition of a volume shared by several other components", "type": "object", "properties": { + "ephemeral": { + "description": "Ephemeral volumes are not stored persistently across restarts. Defaults to false", + "type": "boolean" + }, "size": { "description": "Size of the volume", "type": "string"